diff --git a/source/scriptinterface/NativeWrapperDecls.h b/source/scriptinterface/NativeWrapperDecls.h index 3e24884a02..2df4cac1b2 100644 --- a/source/scriptinterface/NativeWrapperDecls.h +++ b/source/scriptinterface/NativeWrapperDecls.h @@ -18,11 +18,9 @@ #include #include -private: - - template struct MaybeRef; - -public: +// MaybeRef should be private, but has to be public due to a compiler bug in clang. +// TODO: Make this private when the bug is fixed in all supported versions of clang. +template struct MaybeRef; // Define lots of useful macros: