aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/openvic2/Types.hpp')
-rw-r--r--extension/src/openvic2/Types.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/extension/src/openvic2/Types.hpp b/extension/src/openvic2/Types.hpp
index bf5ee27..b20db10 100644
--- a/extension/src/openvic2/Types.hpp
+++ b/extension/src/openvic2/Types.hpp
@@ -1,14 +1,16 @@
#pragma once
#include <string>
+#include <vector>
+
+#include "openvic2/Logger.hpp"
namespace OpenVic2 {
using return_t = bool;
// This mirrors godot::Error, where `OK = 0` and `FAILED = 1`.
- static const return_t SUCCESS = false, FAILURE = true;
+ static constexpr return_t SUCCESS = false, FAILURE = true;
- struct HasIdentifier {
- private:
+ class HasIdentifier {
std::string identifier;
protected:
HasIdentifier(std::string const& new_identifier);