Skip to content

Commit 4841b85

Browse files
committed
utils [fix] MSVC build
1 parent 524e4eb commit 4841b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ namespace FTUtils {
8686
const wchar_t* from_next;
8787
char* to_next;
8888
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) {
89+
if (result == converter_type::ok || result == converter_type::noconv) {
9090
return std::string (&to[0], to_next);
9191
}
9292
throw std::runtime_error("WString converting error");

0 commit comments

Comments
 (0)