diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-10 15:57:28 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-10 15:57:28 +0200 |
commit | fed5ab7a8c969fd64231395eac4e652e6fa76d99 (patch) | |
tree | 0663dcadbf3214a9fc20ef5db8f66a8cca123285 /vespamalloc/src/tests/allocfree/producerconsumer.h | |
parent | 7b5f43fd68e33cd6afe7150430732ee02b1c4ffa (diff) |
add override in vespamalloc module
Diffstat (limited to 'vespamalloc/src/tests/allocfree/producerconsumer.h')
-rw-r--r-- | vespamalloc/src/tests/allocfree/producerconsumer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespamalloc/src/tests/allocfree/producerconsumer.h b/vespamalloc/src/tests/allocfree/producerconsumer.h index c9b7be3258f..07edb4af9ab 100644 --- a/vespamalloc/src/tests/allocfree/producerconsumer.h +++ b/vespamalloc/src/tests/allocfree/producerconsumer.h @@ -22,7 +22,7 @@ public: virtual ~Consumer(); void enqueue(const MemList &mem) { _queue.enqueue(mem); } void close() { _queue.close(); } - void Run(FastOS_ThreadInterface *t, void *); + void Run(FastOS_ThreadInterface *t, void *) override; uint64_t operations() const { return _operations; } }; @@ -35,7 +35,7 @@ private: public: Producer(uint32_t cnt, Consumer &target); virtual ~Producer(); - void Run(FastOS_ThreadInterface *t, void *); + void Run(FastOS_ThreadInterface *t, void *) override; uint64_t operations() const { return _operations; } }; @@ -50,7 +50,7 @@ private: public: ProducerConsumer(uint32_t cnt, bool inverse); virtual ~ProducerConsumer(); - void Run(FastOS_ThreadInterface *t, void *); + void Run(FastOS_ThreadInterface *t, void *) override; uint64_t operationsConsumed() const { return _operationsConsumed; } uint64_t operationsProduced() const { return _operationsProduced; } }; |