summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorRider Linden <none@none>2015-03-27 17:00:02 -0700
committerRider Linden <none@none>2015-03-27 17:00:02 -0700
commit735364038767694ea29d9b6a168410e6482cc9c2 (patch)
tree7f04704516d6c5d537bca1fc9290a2beb268c820 /indra/llmessage
parentb9e80807091aa7a27f1a10a23dd32bbb292d9dfb (diff)
first set of chnages from code review from Nat
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llhttpsdhandler.cpp2
-rw-r--r--indra/llmessage/llhttpsdhandler.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmessage/llhttpsdhandler.cpp b/indra/llmessage/llhttpsdhandler.cpp
index 0d385d6497..72ecfe77e2 100644
--- a/indra/llmessage/llhttpsdhandler.cpp
+++ b/indra/llmessage/llhttpsdhandler.cpp
@@ -89,7 +89,7 @@ LLHttpSDGenericHandler::LLHttpSDGenericHandler(const LLURI &uri, const std::stri
{
}
-void LLHttpSDGenericHandler::onSuccess(LLCore::HttpResponse * response, LLSD &content)
+void LLHttpSDGenericHandler::onSuccess(LLCore::HttpResponse * response, const LLSD &content)
{
LL_DEBUGS() << mCaps << " Success." << LL_ENDL;
}
diff --git a/indra/llmessage/llhttpsdhandler.h b/indra/llmessage/llhttpsdhandler.h
index b3eb7d6145..a2598c9709 100644
--- a/indra/llmessage/llhttpsdhandler.h
+++ b/indra/llmessage/llhttpsdhandler.h
@@ -49,7 +49,7 @@ public:
}
protected:
- virtual void onSuccess(LLCore::HttpResponse * response, LLSD &content) = 0;
+ virtual void onSuccess(LLCore::HttpResponse * response, const LLSD &content) = 0;
virtual void onFailure(LLCore::HttpResponse * response, LLCore::HttpStatus status) = 0;
private:
@@ -65,7 +65,7 @@ public:
LLHttpSDGenericHandler(const LLURI &uri, const std::string &action);
protected:
- virtual void onSuccess(LLCore::HttpResponse * response, LLSD &content);
+ virtual void onSuccess(LLCore::HttpResponse * response, const LLSD &content);
virtual void onFailure(LLCore::HttpResponse * response, LLCore::HttpStatus status);
private: