diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-08-17 12:32:17 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-08-17 12:32:58 +0200 |
| commit | 65e64441810670c4f20d6f0979dc455e6ed91ea5 (patch) | |
| tree | 81a705952f82f2346ab446c312c8253e2184857c /src/httpserver.h | |
| parent | Merge #8482: [qa] Use single cache dir for chains (diff) | |
| parent | Fix a type error that would not compile on Apple LLVM version 6.1.0 (clang-60... (diff) | |
| download | discoin-65e64441810670c4f20d6f0979dc455e6ed91ea5.tar.xz discoin-65e64441810670c4f20d6f0979dc455e6ed91ea5.zip | |
Merge #8513: Fix a type error that would not compile on OSX.
8194a6e 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) (Jeremy Rubin)
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. |