diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-06-28 14:33:44 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-06-28 15:05:23 +0200 |
| commit | 9a941a10101dc720d7d8b425f7778abf2a1b7c36 (patch) | |
| tree | b70c32af24d1a318dfcd39bb63e1e472566733ef /src/httprpc.cpp | |
| parent | Merge #10684: Remove no longer used mempool.exists(outpoint) (diff) | |
| parent | Use the override specifier (C++11) where we expect to be overriding the virtu... (diff) | |
| download | discoin-9a941a10101dc720d7d8b425f7778abf2a1b7c36.tar.xz discoin-9a941a10101dc720d7d8b425f7778abf2a1b7c36.zip | |
Merge #10631: Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class
aa95947 Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class (practicalswift)
Tree-SHA512: 3835e9b4ceaa4b2db485a25dfa3e5fe50c2e3ecb22ca9d5331aed7728aa496d4378fb84c0a1a3c47b0adecc10a00bca99cc239cbaf94cf2ce5b4cda497db6023
Diffstat (limited to 'src/httprpc.cpp')
| -rw-r--r-- | src/httprpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/httprpc.cpp b/src/httprpc.cpp index 497e565b1..8c2e0da32 100644 --- a/src/httprpc.cpp +++ b/src/httprpc.cpp @@ -47,11 +47,11 @@ public: HTTPRPCTimerInterface(struct event_base* _base) : base(_base) { } - const char* Name() + const char* Name() override { return "HTTP"; } - RPCTimerBase* NewTimer(std::function<void(void)>& func, int64_t millis) + RPCTimerBase* NewTimer(std::function<void(void)>& func, int64_t millis) override { return new HTTPRPCTimer(base, func, millis); } |