diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-23 20:33:34 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-23 20:33:34 +0100 |
commit | 56b5466f014d9f7c3662544713bd53670cd8e32f (patch) | |
tree | 479658b1424c53d3e1ceaadb16b095bb34531520 /include/YAGE | |
parent | 34f910351863163438c419dd07045f1442321293 (diff) | |
download | YAGE-56b5466f014d9f7c3662544713bd53670cd8e32f.tar.gz YAGE-56b5466f014d9f7c3662544713bd53670cd8e32f.zip |
Applied modernize rules and fixed build.
Applied clang-tidy modernize rules and fixed the CMakeLists.txt
file so that it also linked against the SDL2 library.
Diffstat (limited to 'include/YAGE')
-rw-r--r-- | include/YAGE/Physics/body.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/YAGE/Physics/body.hpp b/include/YAGE/Physics/body.hpp index fab28fc1..efeedb64 100644 --- a/include/YAGE/Physics/body.hpp +++ b/include/YAGE/Physics/body.hpp @@ -46,7 +46,7 @@ public: protected: // protected constructor to initialize member variables - Body(const Vector2d& position = Vector2d(0, 0), double mass = 1, const Vector2d& velocity = Vector2d(0, 0), bool gravity = false); + Body(Vector2d position = Vector2d(0, 0), double mass = 1, Vector2d velocity = Vector2d(0, 0), bool gravity = false); }; } // namespace yage |