mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
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)
This commit is contained in:
parent
3859072963
commit
8194a6e525
@ -33,7 +33,7 @@ void InterruptHTTPServer();
|
|||||||
void StopHTTPServer();
|
void StopHTTPServer();
|
||||||
|
|
||||||
/** Handler for requests to a certain HTTP path */
|
/** 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.
|
/** Register handler for prefix.
|
||||||
* If multiple handlers match a prefix, the first-registered one will
|
* If multiple handlers match a prefix, the first-registered one will
|
||||||
* be invoked.
|
* be invoked.
|
||||||
|
Loading…
Reference in New Issue
Block a user