aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader/NodeTools.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-08-04 23:22:57 +0200
committer hop311 <hop3114@gmail.com>2024-08-04 23:22:57 +0200
commit2314a9b6c48eab47cc776d08ef7d155f9bea423d (patch)
tree2581b276b6b0f6f26d8e9d67755cf9cc21556f82 /src/openvic-simulation/dataloader/NodeTools.hpp
parent3c07aa7a890e82d1ba28bdc3bbb1a8f9896f25d1 (diff)
Load font colour codesfont-colour-codes
Diffstat (limited to 'src/openvic-simulation/dataloader/NodeTools.hpp')
-rw-r--r--src/openvic-simulation/dataloader/NodeTools.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/dataloader/NodeTools.hpp b/src/openvic-simulation/dataloader/NodeTools.hpp
index 945e5e8..79fb0ea 100644
--- a/src/openvic-simulation/dataloader/NodeTools.hpp
+++ b/src/openvic-simulation/dataloader/NodeTools.hpp
@@ -540,7 +540,7 @@ namespace OpenVic {
template<typename Key, typename Value, typename... MapArgs>
Callback<Value> auto map_callback(
- tsl::ordered_map<Key const*, Value, MapArgs...>& map, Key const* key, bool warn = false
+ tsl::ordered_map<Key, Value, MapArgs...>& map, Key key, bool warn = false
) {
return [&map, key, warn](Value value) -> bool {
if (map.emplace(key, std::move(value)).second) {