aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Culture.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-01-09 11:58:25 +0100
committer GitHub <noreply@github.com>2024-01-09 11:58:25 +0100
commit1d0dc5660040d03fd30168150f951ba98eaaa900 (patch)
treeb0b404a1826d455767b16d3e3ae1d6bf7516e06d /src/openvic-simulation/pop/Culture.hpp
parent79b8b73304753fedab822e6aa859fa15673f52cc (diff)
parent83802dfead4938e6f98b4b9961b286e06ab78b18 (diff)
Merge pull request #123 from OpenVicProject/map_callback
Added map_callback and expect_item_dictionary_reserve_length
Diffstat (limited to 'src/openvic-simulation/pop/Culture.hpp')
-rw-r--r--src/openvic-simulation/pop/Culture.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/openvic-simulation/pop/Culture.hpp b/src/openvic-simulation/pop/Culture.hpp
index 1c6b75f..c8dfe7a 100644
--- a/src/openvic-simulation/pop/Culture.hpp
+++ b/src/openvic-simulation/pop/Culture.hpp
@@ -40,14 +40,14 @@ namespace OpenVic {
private:
CultureGroup const& PROPERTY(group);
- const std::vector<std::string> PROPERTY(first_names);
- const std::vector<std::string> PROPERTY(last_names);
+ const name_list_t PROPERTY(first_names);
+ const name_list_t PROPERTY(last_names);
// TODO - radicalism, primary tag
Culture(
std::string_view new_identifier, colour_t new_colour, CultureGroup const& new_group,
- std::vector<std::string>&& new_first_names, std::vector<std::string>&& new_last_names
+ name_list_t&& new_first_names, name_list_t&& new_last_names
);
public:
@@ -75,8 +75,8 @@ namespace OpenVic {
);
bool add_culture(
- std::string_view identifier, colour_t colour, CultureGroup const& group, std::vector<std::string>&& first_names,
- std::vector<std::string>&& last_names
+ std::string_view identifier, colour_t colour, CultureGroup const& group, name_list_t&& first_names,
+ name_list_t&& last_names
);
bool load_graphical_culture_type_file(ast::NodeCPtr root);