aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Religion.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-28 22:03:14 +0200
committer Hop311 <hop3114@gmail.com>2023-09-28 22:03:14 +0200
commit84b5ee7a7749e2dbfeb214b4cedd16d5522f4197 (patch)
treecd810aceed54196aa62aa766f79039cd57a1e600 /src/openvic-simulation/pop/Religion.hpp
parent5764126f4a3940320990a9bc3007ba22e89a514c (diff)
Removed unnecessary `const std::string_view`s
Diffstat (limited to 'src/openvic-simulation/pop/Religion.hpp')
-rw-r--r--src/openvic-simulation/pop/Religion.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openvic-simulation/pop/Religion.hpp b/src/openvic-simulation/pop/Religion.hpp
index 8267659..6d1c205 100644
--- a/src/openvic-simulation/pop/Religion.hpp
+++ b/src/openvic-simulation/pop/Religion.hpp
@@ -11,7 +11,7 @@ namespace OpenVic {
friend struct ReligionManager;
private:
- ReligionGroup(const std::string_view new_identifier);
+ ReligionGroup(std::string_view new_identifier);
public:
ReligionGroup(ReligionGroup&&) = default;
@@ -27,7 +27,7 @@ namespace OpenVic {
const icon_t icon;
const bool pagan;
- Religion(const std::string_view new_identifier, colour_t new_colour, ReligionGroup const& new_group, icon_t new_icon, bool new_pagan);
+ Religion(std::string_view new_identifier, colour_t new_colour, ReligionGroup const& new_group, icon_t new_icon, bool new_pagan);
public:
Religion(Religion&&) = default;
@@ -45,10 +45,10 @@ namespace OpenVic {
public:
ReligionManager();
- bool add_religion_group(const std::string_view identifier);
+ bool add_religion_group(std::string_view identifier);
IDENTIFIER_REGISTRY_ACCESSORS(ReligionGroup, religion_group)
- bool add_religion(const std::string_view identifier, colour_t colour, ReligionGroup const* group, Religion::icon_t icon, bool pagan);
+ bool add_religion(std::string_view identifier, colour_t colour, ReligionGroup const* group, Religion::icon_t icon, bool pagan);
IDENTIFIER_REGISTRY_ACCESSORS(Religion, religion)
bool load_religion_file(ast::NodeCPtr root);