We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0716e93 commit 0d4aec4Copy full SHA for 0d4aec4
src/libs/core/helper/parse_json.hpp
@@ -76,7 +76,7 @@ namespace json {
76
77
std::ifstream file_stream{ file };
78
79
- if (!file_stream.is_open()) {
+ if (not file_stream.is_open()) {
80
return helper::unexpected<std::string>{ fmt::format("File '{}' couldn't be opened!", file.string()) };
81
}
82
@@ -142,7 +142,7 @@ namespace json {
142
143
std::ofstream file_stream{ file };
144
145
- if (file_stream.is_open()) {
146
return fmt::format("File '{}' couldn't be opened!", file.string());
147
148
0 commit comments