Skip to content

Commit 5d86fc9

Browse files
Update toml.hpp
1 parent d184015 commit 5d86fc9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

toml.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16342,11 +16342,7 @@ TOML_ANON_NAMESPACE_START
1634216342
std::ifstream file;
1634316343
TOML_OVERALIGNED char file_buffer[sizeof(void*) * 1024u];
1634416344
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
1634816345
file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
16349-
#endif
1635016346
if (!file.is_open())
1635116347
TOML_PARSE_FILE_ERROR("File could not be opened for reading", file_path_str);
1635216348

0 commit comments

Comments
 (0)