Work around clang bug to fix compiling.

This was SVN commit r17703.
This commit is contained in:
Yves
2016-01-24 10:34:38 +00:00
parent 4bff1ef1a9
commit 199d38dfec
+3 -5
View File
@@ -18,11 +18,9 @@
#include <boost/preprocessor/punctuation/comma_if.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
private:
template <typename T> 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 <typename T> struct MaybeRef;
// Define lots of useful macros: