diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-06-20 21:58:56 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-06-28 02:12:06 +0200 |
commit | aa95947ded93e7e45f222f255baf186433cc11fc (patch) | |
tree | 5c57ac83b17f7d0ac6095a8e36c359e5f3121ae6 /src/httpserver.cpp | |
parent | acb11535cb8499fd47fdde7f52457f8945b58856 (diff) |
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 8841a4e9e7..1c53d8d49d 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); } |