Removing const from non reference argument
This commit is contained in:
parent
434875e344
commit
b3e63d766a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
template<typename T>
|
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 };
|
const pacman::Position pos{ x, y };
|
||||||
EXPECT_EQ(ghost.position(), pos);
|
EXPECT_EQ(ghost.position(), pos);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue