Browse Source

MSVC 2013 compatibility: can't have anonymous typed enum in template class.

I think I rather don't want to know in what shape the compiler
implementation needs to be to have this kind of bugs.
Vladimír Vondruš 13 years ago
parent
commit
b1d708b4fb
  1. 6
      src/Shapes/AbstractShape.h

6
src/Shapes/AbstractShape.h

@ -58,7 +58,11 @@ template<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT AbstractShape: publi
#endif
public:
enum: UnsignedInt {
enum
#ifndef CORRADE_MSVC2013_COMPATIBILITY
: UnsignedInt
#endif
{
Dimensions = dimensions /**< Dimension count */
};

Loading…
Cancel
Save