aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/types/IndexedMap.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-09-19 00:26:37 +0200
committer hop311 <hop3114@gmail.com>2024-09-19 00:26:37 +0200
commit00a3121dd43a3b6e8f5a6efa2d3b6560ef78c370 (patch)
tree0b55b428680843e033ed07bd8c7e54eb4456f751 /src/openvic-simulation/types/IndexedMap.hpp
parent5550b237fa9b6f8c6a86eea0de9d32e28a626dc7 (diff)
Allow Issue to inherit Modifier directlyissue-modifier
Diffstat (limited to 'src/openvic-simulation/types/IndexedMap.hpp')
-rw-r--r--src/openvic-simulation/types/IndexedMap.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvic-simulation/types/IndexedMap.hpp b/src/openvic-simulation/types/IndexedMap.hpp
index 5682c0e..73ff313 100644
--- a/src/openvic-simulation/types/IndexedMap.hpp
+++ b/src/openvic-simulation/types/IndexedMap.hpp
@@ -18,6 +18,8 @@ namespace OpenVic {
using value_const_ref_t = container_t::const_reference;
using keys_t = std::vector<key_t>;
+ using key_type = key_t; // To match tsl::ordered_map's key_type
+
using container_t::operator[];
using container_t::size;
using container_t::begin;