diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-16 01:08:05 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-16 01:08:05 +0200 |
commit | 8cf93b6523dc380ef0c7215e15e327a78bf4578e (patch) | |
tree | 87974e84563d08c2f2762b75da0cfb2b4e28eab2 /src/openvic-simulation/utility/Logger.hpp | |
parent | 8add7c666455a8a4edd9e02ca5a33f78a25e8f2c (diff) |
2D-vectors (positions.txt needs fixed point vecs)
Diffstat (limited to 'src/openvic-simulation/utility/Logger.hpp')
-rw-r--r-- | src/openvic-simulation/utility/Logger.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/utility/Logger.hpp b/src/openvic-simulation/utility/Logger.hpp index f9ebd5d..c7b8c51 100644 --- a/src/openvic-simulation/utility/Logger.hpp +++ b/src/openvic-simulation/utility/Logger.hpp @@ -70,13 +70,13 @@ namespace OpenVic { static void set_##name##_func(log_func_t log_func) { \ name##_func = log_func; \ } \ - template <typename... Ts> \ + template<typename... Ts> \ struct name { \ name(Ts&&... ts, source_location const& location = source_location::current()) { \ log<Ts...>{ name##_func, name##_queue, std::forward<Ts>(ts)..., location }; \ } \ }; \ - template <typename... Ts> \ + template<typename... Ts> \ name(Ts&&...) -> name<Ts...>; LOG_FUNC(info) |