aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/GameManager.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-08-12 18:54:55 +0200
committer GitHub <noreply@github.com>2023-08-12 18:54:55 +0200
commitd3c6ff1809b88b4c99163402f30b6d10c787510f (patch)
treee4bf26ecfef160e7df7670e73af7f154f1550308 /src/openvic/GameManager.hpp
parent538e7dc4ec44c4d09a6a654f10229e6392653a50 (diff)
parentafc16e76ba699b24ba1ef1cb1b658ef421c84430 (diff)
Merge pull request #11 from OpenVicProject/string_view
Changed IdentifierRegistry to use std::string_view when looking up a std::string key
Diffstat (limited to 'src/openvic/GameManager.hpp')
-rw-r--r--src/openvic/GameManager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic/GameManager.hpp b/src/openvic/GameManager.hpp
index 6a061e6..52de06e 100644
--- a/src/openvic/GameManager.hpp
+++ b/src/openvic/GameManager.hpp
@@ -30,6 +30,6 @@ namespace OpenVic {
return_t setup();
Date const& get_today() const;
- return_t expand_building(index_t province_index, std::string const& building_type_identifier);
+ return_t expand_building(index_t province_index, const std::string_view building_type_identifier);
};
}