From 62bc46ea780d10370d7d9a1fbd03a3ddb009c265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 31 Jul 2013 02:27:32 +0200 Subject: [PATCH] Various Array-related cleanup. --- src/Array.h | 4 ++-- src/Test/ArrayTest.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Array.h b/src/Array.h index 74f61801b..703c63df3 100644 --- a/src/Array.h +++ b/src/Array.h @@ -48,12 +48,12 @@ Math::Vector this class has non-explicit constructor from one value. template class Array { public: typedef T Type; /**< @brief Data type */ - const static UnsignedInt Dimensions = dimensions; /**< @brief Dimension count */ + const static UnsignedInt Dimensions = dimensions; /**< @brief Dimension count */ /** * @brief Default constructor * - * Sets all components to their default-constructed values + * Sets all components to their default-constructed values. */ constexpr /*implicit*/ Array(): _data() {} diff --git a/src/Test/ArrayTest.cpp b/src/Test/ArrayTest.cpp index cfed7c111..62b4cb7bc 100644 --- a/src/Test/ArrayTest.cpp +++ b/src/Test/ArrayTest.cpp @@ -37,9 +37,9 @@ class ArrayTest: public TestSuite::Tester { void access(); }; -typedef Magnum::Array1D Array1D; -typedef Magnum::Array2D Array2D; -typedef Magnum::Array3D Array3D; +typedef Magnum::Array1D Array1D; +typedef Magnum::Array2D Array2D; +typedef Magnum::Array3D Array3D; ArrayTest::ArrayTest() { addTests({&ArrayTest::construct, @@ -71,8 +71,8 @@ void ArrayTest::construct() { } void ArrayTest::equality() { - CORRADE_VERIFY((Array<3, int>(5, 6, 7) == Array<3, int>(5, 6, 7))); - CORRADE_VERIFY((Array<3, int>(5, 6, 7) != Array<3, int>(5, 6, 8))); + CORRADE_VERIFY((Array<3, Int>(5, 6, 7) == Array<3, Int>(5, 6, 7))); + CORRADE_VERIFY((Array<3, Int>(5, 6, 7) != Array<3, Int>(5, 6, 8))); } void ArrayTest::access() {