aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Logger.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-04-26 01:26:33 +0200
committer GitHub <noreply@github.com>2023-04-26 01:26:33 +0200
commit10053cf259c55ee45803268a844edf1011d8a16b (patch)
treefcf86e6fac31430ba537a0d056e97f901ad76dd7 /extension/src/openvic2/Logger.hpp
parent639f86febf39184cccde9f898fc328375048233f (diff)
parent563834e7e6f9ce565bbfd553a0d9ff80a98c677d (diff)
Merge pull request #98 from OpenVic2Project/some-cleanup
Req comments + cleanup + c++ registry refactoring
Diffstat (limited to 'extension/src/openvic2/Logger.hpp')
-rw-r--r--extension/src/openvic2/Logger.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/extension/src/openvic2/Logger.hpp b/extension/src/openvic2/Logger.hpp
index 749c67f..624df29 100644
--- a/extension/src/openvic2/Logger.hpp
+++ b/extension/src/openvic2/Logger.hpp
@@ -25,9 +25,9 @@ namespace OpenVic2 {
return source_location(f, l, n);
}
- inline const char* file_name() const { return _file.c_str(); }
+ inline char const* file_name() const { return _file.c_str(); }
inline int line() const {return _line; }
- inline const char* function_name() const { return _function.c_str(); }
+ inline char const* function_name() const { return _function.c_str(); }
};
#endif
@@ -42,7 +42,7 @@ namespace OpenVic2 {
static log_func_t info_func, error_func;
- static const char* get_filename(const char* filepath);
+ static char const* get_filename(char const* filepath);
template <typename... Ts>
struct log {