From fbee150c71b40bb9d16c8498bc70f0468c9c0c7b Mon Sep 17 00:00:00 2001 From: Ashwin Ravichandran Date: Fri, 5 Aug 2016 20:59:34 -0700 Subject: [PATCH] Math : Fixed spaces --- .gitignore | 1 + src/Magnum/Math/Bezier.h | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 997182583..68ebbcabb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ /build* /debian /obj-* +.idea/ pkg *.kdev4 *~ diff --git a/src/Magnum/Math/Bezier.h b/src/Magnum/Math/Bezier.h index 3d9fde1d0..b9ed69cca 100644 --- a/src/Magnum/Math/Bezier.h +++ b/src/Magnum/Math/Bezier.h @@ -94,18 +94,16 @@ template class Bezier { * * @see @ref operator[]() */ - Vector*points() {return _points;} - - constexpr const Vector*points() const {return _points;} /**< @overload */ + Vector* points() { return _points; } + constexpr const Vector* points() const { return _points; } /**< @overload */ /** * @brief Value at given position * * @see @ref points() */ - Vector&operator[](std::size_t pos) {return _points[pos];} - - constexpr Vector operator[](std::size_t pos) const {return _points[pos];} /**< @overload */ + Vector& operator[](std::size_t pos) { return _points[pos]; } + constexpr Vector operator[](std::size_t pos) const { return _points[pos]; } /**< @overload */ private: