From 42af2c1a498e6b876fce7ac934daaa62b4876427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 26 Oct 2012 12:35:18 +0200 Subject: [PATCH] Fixed serious copy/paste error. Unnoticed since c1cf94fb46e3716c5e9131273c0f650cad2b566e. --- src/TypeTraits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TypeTraits.h b/src/TypeTraits.h index 5a1310502..08da1bf09 100644 --- a/src/TypeTraits.h +++ b/src/TypeTraits.h @@ -197,7 +197,7 @@ template<> struct TypeTraits: public Math::MathTypeTraits inline constexpr static std::size_t count() { return 1; } }; -template<> struct TypeTraits: public Math::MathTypeTraits { +template<> struct TypeTraits: public Math::MathTypeTraits { inline constexpr static Type type() { return Type::UnsignedInt; } inline constexpr static Type indexType() { return Type::UnsignedInt; } inline constexpr static AbstractImage::ComponentType imageType() { return AbstractImage::ComponentType::UnsignedInt; } @@ -205,7 +205,7 @@ template<> struct TypeTraits: public Math::MathTypeTraits inline constexpr static std::size_t count() { return 1; } }; -template<> struct TypeTraits: public Math::MathTypeTraits { +template<> struct TypeTraits: public Math::MathTypeTraits { inline constexpr static Type type() { return Type::Int; } /* Can not be used for indices */ inline constexpr static AbstractImage::ComponentType imageType() { return AbstractImage::ComponentType::Int; }