summaryrefslogtreecommitdiff
path: root/indra/newview/llappcorehttp.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-10-15 10:12:58 -0700
committerRider Linden <rider@lindenlab.com>2015-10-15 10:12:58 -0700
commit3fdd5abf96fc945bd28038cf9d5d2533c7c9564e (patch)
tree9ea5a134f6d4daf2bd681313d171f9dd1f9df813 /indra/newview/llappcorehttp.cpp
parenteca891e2618581e90c79f0c141b1c920f2577efe (diff)
MAINT-5732: Issue in texture_load example and some comments regarding NoOpDeletor
Diffstat (limited to 'indra/newview/llappcorehttp.cpp')
-rwxr-xr-xindra/newview/llappcorehttp.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/newview/llappcorehttp.cpp b/indra/newview/llappcorehttp.cpp
index 5662334555..8c276c0fe9 100755
--- a/indra/newview/llappcorehttp.cpp
+++ b/indra/newview/llappcorehttp.cpp
@@ -280,10 +280,16 @@ void setting_changed()
namespace
{
+ // The NoOpDeletor is used when wrapping LLAppCoreHttp in a smart pointer below for
+ // passage into the LLCore::Http libararies. When the smart pointer is destroyed,
+ // no action will be taken since we do not in this case want the entire LLAppCoreHttp object
+ // to be destroyed at the end of the call.
+ //
+ // *NOTE$: Yes! It is "Deletor"
+ // http://english.stackexchange.com/questions/4733/what-s-the-rule-for-adding-er-vs-or-when-nouning-a-verb
+ // "delete" derives from Latin "deletus"
void NoOpDeletor(LLCore::HttpHandler *)
- {
-
- }
+ { /*NoOp*/ }
}
void LLAppCoreHttp::requestStop()