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 d184015 commit 5d86fc9Copy full SHA for 5d86fc9
toml.hpp
@@ -16342,11 +16342,7 @@ TOML_ANON_NAMESPACE_START
16342
std::ifstream file;
16343
TOML_OVERALIGNED char file_buffer[sizeof(void*) * 1024u];
16344
file.rdbuf()->pubsetbuf(file_buffer, sizeof(file_buffer));
16345
-#if TOML_WINDOWS
16346
- file.open(impl::widen(file_path_str).c_str(), std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
16347
-#else
16348
file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
16349
-#endif
16350
if (!file.is_open())
16351
TOML_PARSE_FILE_ERROR("File could not be opened for reading", file_path_str);
16352
0 commit comments