Browse Source

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)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
65e6444181
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/httpserver.h

2
src/httpserver.h

@ -33,7 +33,7 @@ void InterruptHTTPServer(); @@ -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.

Loading…
Cancel
Save