Hello all,

I just found out tpserver-cpp doesn't build anymore for me. The error is
riskturn.h:42: error: extra qualification 'RiskRuleset::RiskTurn::' on
member 'getPlayerAndUnits'
and the fix is to simply remove the "RiskTurn::" from the offending line.

Patch attached. Can someone push this to the repository? Thanks.

Iwanowitch
From c720471c058bfdfcfab87d6810a7ffee917bf0fc Mon Sep 17 00:00:00 2001
From: Vincent Verhoeven <[EMAIL PROTECTED]>
Date: Sat, 16 Aug 2008 01:40:16 +0200
Subject: [PATCH] Fix build

---
 modules/games/risk/riskturn.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/games/risk/riskturn.h b/modules/games/risk/riskturn.h
index 21eb294..e833b16 100644
--- a/modules/games/risk/riskturn.h
+++ b/modules/games/risk/riskturn.h
@@ -39,7 +39,7 @@ private:
    void processOrdersOfGivenType(std::string type = "");
    void calculateReinforcements();
    void calculateBonusReinforcements();
-   std::pair<uint32_t,uint32_t> RiskTurn::getPlayerAndUnits(IGObject* constellation);
+   std::pair<uint32_t,uint32_t> getPlayerAndUnits(IGObject* constellation);
 };//class RiskTurn : public TurnProcess
 void setPlayerVisibleObjects();
 } //namespace RiskRuleset
-- 
1.5.4.3

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to