Skip to content

Commit 799af34

Browse files
committed
Fix use of undeclared identifier 'set_typed' in in typed_dictionary.hpp when dictionary.hpp is also included.
1 parent 55a86ba commit 799af34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/godot_cpp/core/defs.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
#include <type_traits>
3636
#include <utility>
3737

38+
#if __has_include(<godot_cpp/core/version.hpp>)
39+
#include <godot_cpp/core/version.hpp>
40+
#endif
41+
3842
namespace godot {
3943

4044
#if !defined(GDE_EXPORT)

0 commit comments

Comments
 (0)