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 524e4eb commit 4841b85Copy full SHA for 4841b85
utils/utils.h
@@ -86,7 +86,7 @@ namespace FTUtils {
86
const wchar_t* from_next;
87
char* to_next;
88
const converter_type::result result = converter.out(state, ws.data(), ws.data() + ws.length(), from_next, &to[0], &to[0] + to.size(), to_next);
89
- if (result == converter_type::ok or result == converter_type::noconv) {
+ if (result == converter_type::ok || result == converter_type::noconv) {
90
return std::string (&to[0], to_next);
91
}
92
throw std::runtime_error("WString converting error");
0 commit comments