From 91fd9441dad8b4b7eb680268e2fc8e03a0b37078 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Thu, 25 Nov 2010 01:49:47 +0100 Subject: Action::operator==() should take a reference. --- common/action.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/action.h') diff --git a/common/action.h b/common/action.h index 7ad84ee..a2dc6e4 100644 --- a/common/action.h +++ b/common/action.h @@ -26,7 +26,7 @@ class Action { int target; //! Compare to another action. - bool operator==(Action other); + bool operator==(const Action& other); template void serialize(Archive & ar, const unsigned int version) { -- cgit v1.2.3