diff options
| author | practicalswift <[email protected]> | 2017-06-20 21:58:56 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-06-28 02:12:06 +0200 |
| commit | aa95947ded93e7e45f222f255baf186433cc11fc (patch) | |
| tree | 5c57ac83b17f7d0ac6095a8e36c359e5f3121ae6 /src/httpserver.cpp | |
| parent | Merge #10659: [qa] blockchain: Pass on closed connection during generate call (diff) | |
| download | discoin-aa95947ded93e7e45f222f255baf186433cc11fc.tar.xz discoin-aa95947ded93e7e45f222f255baf186433cc11fc.zip | |
Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class
Diffstat (limited to 'src/httpserver.cpp')
| -rw-r--r-- | src/httpserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 8841a4e9e..1c53d8d49 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -46,7 +46,7 @@ public: req(std::move(_req)), path(_path), func(_func) { } - void operator()() + void operator()() override { func(req.get(), path); } |