mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 21:47:37 +03:00
Use CXX11_OVERRIDE
This commit is contained in:
parent
5c4f97b8a9
commit
81f46fbf92
274 changed files with 1640 additions and 1375 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue