Browse Source

SceneGraph: avoid weird attribute warnings on GCC.

Attributes for enums are apparently not a feature yet, will be part of
C++17 (but Clang has it already).
pull/89/head
Vladimír Vondruš 11 years ago
parent
commit
7a6ed6abfa
  1. 2
      src/Magnum/SceneGraph/AbstractTransformation.h

2
src/Magnum/SceneGraph/AbstractTransformation.h

@ -94,7 +94,7 @@ template<UnsignedInt dimensions, class T> class AbstractTransformation {
@deprecated Use `*Transformation*::*()` and `*Transformation::*Local*()`
overloads instead.
*/
enum class CORRADE_DEPRECATED("use *() and *Local() overloads instead") TransformationType: UnsignedByte {
enum class CORRADE_DEPRECATED_ENUM("use *() and *Local() overloads instead") TransformationType: UnsignedByte {
/** Global transformation, applied after all other transformations. */
Global = 0x00,

Loading…
Cancel
Save