Skip to content

Commit

Permalink
Merge bitcoin#8513: Fix a type error that would not compile on OSX.
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
laanwj committed Aug 17, 2016
2 parents 740cff5 + 8194a6e commit 65e6444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 65e6444

Please sign in to comment.