|
From: <bul...@us...> - 2013-06-09 05:34:50
|
Revision: 22804
http://sourceforge.net/p/bzflag/code/22804
Author: bullet_catcher
Date: 2013-06-09 05:34:47 +0000 (Sun, 09 Jun 2013)
Log Message:
-----------
Remove unused default arguments from VotingArbiter constructor, which the LLVM compiler warns make "this constructor a default constructor."
Modified Paths:
--------------
trunk/bzflag/include/VotingArbiter.h
Modified: trunk/bzflag/include/VotingArbiter.h
===================================================================
--- trunk/bzflag/include/VotingArbiter.h 2013-06-09 05:01:02 UTC (rev 22803)
+++ trunk/bzflag/include/VotingArbiter.h 2013-06-09 05:34:47 UTC (rev 22804)
@@ -231,11 +231,11 @@
};
-inline VotingArbiter::VotingArbiter(unsigned short int voteTime=60,
- unsigned short int vetoTime=20,
- unsigned short int votesRequired=2,
- float votePercentage=50.1,
- unsigned short int voteRepeatTime=300)
+inline VotingArbiter::VotingArbiter(unsigned short int voteTime,
+ unsigned short int vetoTime,
+ unsigned short int votesRequired,
+ float votePercentage,
+ unsigned short int voteRepeatTime)
: _votingBooth(NULL),
_maxVotes(votesRequired+1),
_voteTime(voteTime),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|