Browse Source

Shapes: overlooked `typename`.

Spotted by good ol' GCC 4.4. Newer compilers don't bother with that
verbosity at all.
pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
f78ac39ab6
  1. 2
      src/Shapes/shapeImplementation.h

2
src/Shapes/shapeImplementation.h

@ -108,7 +108,7 @@ template<UnsignedInt dimensions> struct TypeOf<Shapes::Box<dimensions>> {
}
};
template<> struct TypeOf<Shapes::Plane> {
constexpr static typename ShapeDimensionTraits<3>::Type type() {
constexpr static ShapeDimensionTraits<3>::Type type() {
return ShapeDimensionTraits<3>::Type::Plane;
}
};

Loading…
Cancel
Save