summaryrefslogtreecommitdiff
path: root/common/action.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-11-25 01:49:47 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-11-25 01:49:47 +0100
commit91fd9441dad8b4b7eb680268e2fc8e03a0b37078 (patch)
tree3ea7b839adc1da7d4a81bb658a97e8cd122359b9 /common/action.h
parentbdf3e3b9c91dc1531a44b1cabaaf598f16d377e8 (diff)
Action::operator==() should take a reference.
Diffstat (limited to 'common/action.h')
-rw-r--r--common/action.h2
1 files changed, 1 insertions, 1 deletions
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<class Archive>
void serialize(Archive & ar, const unsigned int version) {