Use CXX11_OVERRIDE

This commit is contained in:
Tatsuhiro Tsujikawa 2013-07-06 18:15:09 +09:00
parent 5c4f97b8a9
commit 81f46fbf92
274 changed files with 1640 additions and 1375 deletions

View file

@ -14,15 +14,15 @@ public:
virtual ~FixedNumberRandomizer() {}
virtual long int getRandomNumber() {
virtual long int getRandomNumber() CXX11_OVERRIDE {
return fixedNumber;
}
virtual long int getMaxRandomNumber() {
virtual long int getMaxRandomNumber() CXX11_OVERRIDE {
return RAND_MAX;
}
virtual long int getRandomNumber(long int to)
virtual long int getRandomNumber(long int to) CXX11_OVERRIDE
{
return getRandomNumber();
}