Skip to content

Commit

Permalink
Update fims_log.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
msupernaw committed May 2, 2024
1 parent 679d79a commit e43fb0c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions inst/include/common/fims_log.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

#if !defined(__PRETTY_FUNCTION__) && !defined(__GNUC__)
#ifdef FIMS_WINDOWS
#define __PRETTY_FUNCTION__ __FUNCSIG__
#define __PRETTY_FUNCTION__ __FUNCTION__
#endif
#endif

Expand Down Expand Up @@ -134,7 +134,7 @@ class FIMSLog {

void message(std::string str, int line, const char* file, const char* func ) {

std::__fs::filesystem::path cwd = std::__fs::filesystem::current_path();
std::filesystem::path cwd = std::filesystem::current_path();
std::stringstream ss;
auto now = std::chrono::system_clock::now();
std::time_t now_time = std::chrono::system_clock::to_time_t(now);
Expand All @@ -155,7 +155,8 @@ class FIMSLog {
}

void error_message(std::string str, int line, const char* file, const char* func ) {
std::__fs::filesystem::path cwd = std::__fs::filesystem::current_path();
std::filesystem::path cwd = std::filesystem::current_path();

std::stringstream ss;
auto now = std::chrono::system_clock::now();
std::time_t now_time = std::chrono::system_clock::to_time_t(now);
Expand All @@ -176,7 +177,8 @@ class FIMSLog {
}

void warning_message(std::string str, int line, const char* file, const char* func ) {
std::__fs::filesystem::path cwd = std::__fs::filesystem::current_path();
std::filesystem::path cwd = std::filesystem::current_path();

std::stringstream ss;
auto now = std::chrono::system_clock::now();
std::time_t now_time = std::chrono::system_clock::to_time_t(now);
Expand Down

0 comments on commit e43fb0c

Please sign in to comment.