Removing const from non reference argument

This commit is contained in:
Ólafur Waage 2021-09-10 10:54:44 +02:00
parent 434875e344
commit b3e63d766a

View file

@ -5,7 +5,7 @@
#include <gtest/gtest.h>
template<typename T>
static void ghostInitHelper(const T& ghost, const double x, const double y) {
static void ghostInitHelper(const T& ghost, double x, double y) {
const pacman::Position pos{ x, y };
EXPECT_EQ(ghost.position(), pos);