diff options
author | Rider Linden <none@none> | 2015-03-27 17:00:02 -0700 |
---|---|---|
committer | Rider Linden <none@none> | 2015-03-27 17:00:02 -0700 |
commit | 735364038767694ea29d9b6a168410e6482cc9c2 (patch) | |
tree | 7f04704516d6c5d537bca1fc9290a2beb268c820 /indra/llcorehttp/httprequest.h | |
parent | b9e80807091aa7a27f1a10a23dd32bbb292d9dfb (diff) |
first set of chnages from code review from Nat
Diffstat (limited to 'indra/llcorehttp/httprequest.h')
-rwxr-xr-x | indra/llcorehttp/httprequest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcorehttp/httprequest.h b/indra/llcorehttp/httprequest.h index 4cacb3a20b..f7ce82d412 100755 --- a/indra/llcorehttp/httprequest.h +++ b/indra/llcorehttp/httprequest.h @@ -237,7 +237,7 @@ public: /// Prototype for policy based callbacks. The callback methods will be executed /// on the worker thread so no modifications should be made to the HttpHandler object. - typedef HttpStatus(*policyCallback)(const std::string &, HttpHandler const * const, void *); + typedef boost::function<HttpStatus(const std::string &, HttpHandler const * const, void *)> policyCallback_t; /// Set a policy option for a global or class parameter at /// startup time (prior to thread start). @@ -255,7 +255,7 @@ public: static HttpStatus setStaticPolicyOption(EPolicyOption opt, policy_t pclass, const std::string & value, std::string * ret_value); static HttpStatus setStaticPolicyOption(EPolicyOption opt, policy_t pclass, - policyCallback value, policyCallback * ret_value);; + policyCallback_t value, policyCallback_t * ret_value);; /// Set a parameter on a class-based policy option. Calls /// made after the start of the servicing thread are |