aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/scripts/ConditionalWeight.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-10-27 12:56:46 +0100
committer hop311 <hop3114@gmail.com>2024-10-29 23:55:10 +0100
commit9a5468ceb4361059fcefae1a383a7c29b4f4e7be (patch)
tree4ff826fd008548cb79f71df83c422388a24de0da /src/openvic-simulation/scripts/ConditionalWeight.hpp
parent309deb6a5b28c8e2b24e73d06f1418bb992b4cd7 (diff)
Rename `scope_t` enum to `scope_type_t`
Diffstat (limited to 'src/openvic-simulation/scripts/ConditionalWeight.hpp')
-rw-r--r--src/openvic-simulation/scripts/ConditionalWeight.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openvic-simulation/scripts/ConditionalWeight.hpp b/src/openvic-simulation/scripts/ConditionalWeight.hpp
index c99d6b0..f667cd7 100644
--- a/src/openvic-simulation/scripts/ConditionalWeight.hpp
+++ b/src/openvic-simulation/scripts/ConditionalWeight.hpp
@@ -21,14 +21,14 @@ namespace OpenVic {
private:
fixed_point_t PROPERTY(base);
std::vector<condition_weight_item_t> PROPERTY(condition_weight_items);
- scope_t PROPERTY(initial_scope);
- scope_t PROPERTY(this_scope);
- scope_t PROPERTY(from_scope);
+ scope_type_t PROPERTY(initial_scope);
+ scope_type_t PROPERTY(this_scope);
+ scope_type_t PROPERTY(from_scope);
struct parse_scripts_visitor_t;
public:
- ConditionalWeight(scope_t new_initial_scope, scope_t new_this_scope, scope_t new_from_scope);
+ ConditionalWeight(scope_type_t new_initial_scope, scope_type_t new_this_scope, scope_type_t new_from_scope);
ConditionalWeight(ConditionalWeight&&) = default;
static constexpr std::string_view base_key_to_string(base_key_t base_key) {