summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAtle Hellvik Havsø <atle@havso.net>2010-11-20 17:09:51 +0100
committerAtle Hellvik Havsø <atle@havso.net>2010-11-20 17:09:51 +0100
commitcd36c6cc07a450e1625cedbe8858682bdb216fb0 (patch)
tree396dbf0527bb5cf401f29aea2ae15c71fab0bbfc /common
parentda85516a57b13963165ea0a30aacca609c125cd2 (diff)
Minor change with State.
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
Diffstat (limited to 'common')
-rw-r--r--common/message.cpp2
-rw-r--r--common/message.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/common/message.cpp b/common/message.cpp
index bc0e3dd..b69ddef 100644
--- a/common/message.cpp
+++ b/common/message.cpp
@@ -134,7 +134,7 @@ Message::RoundState::RoundState() : BoostBase(Types::RoundState) {
}
-Message::RoundState::RoundState(State::p state_) : BoostBase(Types::RoundState), state(state_) {
+Message::RoundState::RoundState(State state_) : BoostBase(Types::RoundState), state(state_) {
}
diff --git a/common/message.h b/common/message.h
index 26deb32..447d12d 100644
--- a/common/message.h
+++ b/common/message.h
@@ -138,9 +138,9 @@ namespace Message {
typedef boost::shared_ptr<RoundState> p;
RoundState();
- RoundState(State::p state_);
+ RoundState(State state_);
- State::p state;
+ State state;
virtual void serialize(boost::archive::text_oarchive& ar);
virtual void deserialize(boost::archive::text_iarchive& ar);