diff options
author | Hop311 <Hop3114@gmail.com> | 2024-01-09 11:58:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 11:58:25 +0100 |
commit | 1d0dc5660040d03fd30168150f951ba98eaaa900 (patch) | |
tree | b0b404a1826d455767b16d3e3ae1d6bf7516e06d /src/openvic-simulation/pop/Culture.hpp | |
parent | 79b8b73304753fedab822e6aa859fa15673f52cc (diff) | |
parent | 83802dfead4938e6f98b4b9961b286e06ab78b18 (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.hpp | 10 |
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); |