diff options
| author | Jeremy Rubin <[email protected]> | 2016-08-14 20:45:46 -0400 |
|---|---|---|
| committer | Jeremy Rubin <[email protected]> | 2016-08-14 20:45:46 -0400 |
| commit | 8194a6e525514d5cda85ac08273a6ffb6d5b6cac (patch) | |
| tree | 2da288e7fc06307fce06533aef096f210616d8e5 /src/httpserver.h | |
| parent | Merge #8353: Trivial: tiny c++11 refactors (diff) | |
| download | discoin-8194a6e525514d5cda85ac08273a6ffb6d5b6cac.tar.xz discoin-8194a6e525514d5cda85ac08273a6ffb6d5b6cac.zip | |
Fix a type error that would not compile on Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Diffstat (limited to 'src/httpserver.h')
| -rw-r--r-- | src/httpserver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver.h b/src/httpserver.h index 0e30e666a..49d67f4b8 100644 --- a/src/httpserver.h +++ b/src/httpserver.h @@ -33,7 +33,7 @@ void InterruptHTTPServer(); void StopHTTPServer(); /** Handler for requests to a certain HTTP path */ -typedef std::function<void(HTTPRequest* req, const std::string &)> HTTPRequestHandler; +typedef std::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler; /** Register handler for prefix. * If multiple handlers match a prefix, the first-registered one will * be invoked. |