From ab7b92eb6137b114335ac840b0880da0c303ed20 Mon Sep 17 00:00:00 2001 From: Markus Mertama Date: Wed, 11 Dec 2024 23:16:18 +0200 Subject: [PATCH] fix for windows --- gempyrelib/src/common/utils/logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gempyrelib/src/common/utils/logging.cpp b/gempyrelib/src/common/utils/logging.cpp index 5552a6e..5b2a6ca 100644 --- a/gempyrelib/src/common/utils/logging.cpp +++ b/gempyrelib/src/common/utils/logging.cpp @@ -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())