aboutsummaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorKarroffel2017-06-01 00:16:33 +0200
committerKarroffel2017-06-01 00:16:33 +0200
commit6bda2876f1466d76a64e0c3cfd31a783aabef0ca (patch)
treeddcbd0c341805548a7f3c88f5f7c42ba28338622 /core/os/os.h
parenta802bd91d000647a40e401c14c0d323209bc6446 (diff)
downloadgodot-6bda2876f1466d76a64e0c3cfd31a783aabef0ca.tar.gz
godot-6bda2876f1466d76a64e0c3cfd31a783aabef0ca.tar.zst
godot-6bda2876f1466d76a64e0c3cfd31a783aabef0ca.zip
fixed PowerState enum cast
Quite a while ago I made a commit (131631b) where I did a weird thing to fix compilation with PTRCALL_ENABLED. And I couldn't sleep because of this after all these months. So here is the proper version.
Diffstat (limited to '')
-rw-r--r--core/os/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 037ce436c..11fe8b44e 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -413,4 +413,6 @@ public:
virtual ~OS();
};
+VARIANT_ENUM_CAST(PowerState);
+
#endif