Separate `&` from parameter names in methods.

This commit is contained in:
SeanOMik 2020-07-06 00:45:24 -05:00
parent 7787e44fbb
commit 3b63025a3f
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public:
}
void Update(const float &delta_time) override {
void Update(const float& delta_time) override {
if (sf::Keyboard::isKeyPressed(sf::Keyboard::A)) {
movement_direction.x = -movement_speed;
movement_direction.y = 0;