Skip to content

Commit

Permalink
fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mmertama committed Dec 11, 2024
1 parent 19a9521 commit ab7b92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gempyrelib/src/common/utils/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class DevNull : public LogWriter {
};


FileLogWriter::FileLogWriter(std::string_view path) : m_file(path, std::ios::out | std::ios::app ) {}
FileLogWriter::FileLogWriter(std::string_view path) : m_file(std::string{path}, std::ios::out | std::ios::app ) {}
bool FileLogWriter::do_write(const char* bytes, size_t count) {
(void) count;
if(!m_file.is_open())
Expand Down

0 comments on commit ab7b92e

Please sign in to comment.