aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Pop.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-09 16:00:23 +0200
committer Hop311 <hop3114@gmail.com>2023-09-09 22:50:29 +0200
commitb4220ad73e14e3b497b2fdeb83d76a6633664764 (patch)
tree72aee7b62ca2a1714799ff8f477ca1e50407eca8 /src/openvic-simulation/pop/Pop.hpp
parent7772f8871348b7b52cb0a478bb76df68d8799a07 (diff)
PR feedback + Logger::warning
Diffstat (limited to 'src/openvic-simulation/pop/Pop.hpp')
-rw-r--r--src/openvic-simulation/pop/Pop.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/openvic-simulation/pop/Pop.hpp b/src/openvic-simulation/pop/Pop.hpp
index 3c635a4..d01eb97 100644
--- a/src/openvic-simulation/pop/Pop.hpp
+++ b/src/openvic-simulation/pop/Pop.hpp
@@ -1,7 +1,5 @@
#pragma once
-#include <filesystem>
-
#include "openvic-simulation/pop/Culture.hpp"
#include "openvic-simulation/pop/Religion.hpp"
@@ -95,7 +93,7 @@ namespace OpenVic {
bool is_artisan, bool is_slave);
IDENTIFIER_REGISTRY_ACCESSORS(PopType, pop_type)
- bool load_pop_type_file(std::filesystem::path const& path, ast::NodeCPtr root);
- bool load_pop_into_province(Province& province, ast::NodeCPtr root) const;
+ bool load_pop_type_file(const std::string_view filestem, ast::NodeCPtr root);
+ bool load_pop_into_province(Province& province, const std::string_view pop_type_identifier, ast::NodeCPtr pop_node) const;
};
}