From 392335ddba90464ffeebe1a59114858b350a2ea9 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 13 Dec 2010 07:34:19 +0100 Subject: Changed RoundEnd::yakus to std::pair. --- common/connectionbase.cpp | 1 + common/message.h | 13 +------------ 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'common') diff --git a/common/connectionbase.cpp b/common/connectionbase.cpp index 9a110f7..e2384e2 100644 --- a/common/connectionbase.cpp +++ b/common/connectionbase.cpp @@ -2,6 +2,7 @@ #include #include +#include #include #include #include diff --git a/common/message.h b/common/message.h index cbb46a4..7cddbe3 100644 --- a/common/message.h +++ b/common/message.h @@ -244,20 +244,9 @@ namespace Message { } }; - struct Yaku { - std::string name; - int value; - - template - void serialize(Archive & ar, const unsigned int v) { - ar & name; - ar & value; - } - }; - RoundEnd() : Base(Types::RoundEnd) {} Tiles hand; - std::vector yakus; + std::vector > yakus; int total_han; int total_fu; int won; -- cgit v1.2.3