aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/Checksum.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-11-08 22:23:39 +0100
committer GitHub <noreply@github.com>2023-11-08 22:23:39 +0100
commitf8da0860795d273452501fa4d7fbfcc40073a884 (patch)
tree556707348d57b81f91627bb8fda5989a305c0d21 /extension/src/openvic-extension/Checksum.hpp
parent57822949341b86649614b343afa2c740efe00ac2 (diff)
parent47fff276966d42cba6a2df9093348a5e20a37159 (diff)
Merge pull request #162 from OpenVicProject/changes
Lots of Changes
Diffstat (limited to 'extension/src/openvic-extension/Checksum.hpp')
-rw-r--r--extension/src/openvic-extension/Checksum.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/extension/src/openvic-extension/Checksum.hpp b/extension/src/openvic-extension/Checksum.hpp
index b12a9cd..c5d8daf 100644
--- a/extension/src/openvic-extension/Checksum.hpp
+++ b/extension/src/openvic-extension/Checksum.hpp
@@ -7,7 +7,7 @@ namespace OpenVic {
GDCLASS(Checksum, godot::Object)
// BEGIN BOILERPLATE
- inline static Checksum* _checksum = nullptr;
+ static inline Checksum* _checksum = nullptr;
protected:
static void _bind_methods() {
@@ -15,7 +15,9 @@ namespace OpenVic {
}
public:
- inline static Checksum* get_singleton() { return _checksum; }
+ static inline Checksum* get_singleton() {
+ return _checksum;
+ }
inline Checksum() {
ERR_FAIL_COND(_checksum != nullptr);