summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httprequest.cpp
diff options
context:
space:
mode:
authorrider <rider@lindenlab.com>2015-10-16 12:15:33 -0700
committerrider <rider@lindenlab.com>2015-10-16 12:15:33 -0700
commit7c5643025804d94ce3efa92abf77e4965295072d (patch)
tree1dc56c5110ab91ee7505bc7653d497bee7833174 /indra/llcorehttp/httprequest.cpp
parent8d334ca1bf51dc1a0020f53cdd7a3927bdb7740c (diff)
MAINT-5271: Microsoft is just too permissive.
Diffstat (limited to 'indra/llcorehttp/httprequest.cpp')
-rwxr-xr-xindra/llcorehttp/httprequest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcorehttp/httprequest.cpp b/indra/llcorehttp/httprequest.cpp
index 1c7994927b..e09f0c3b18 100755
--- a/indra/llcorehttp/httprequest.cpp
+++ b/indra/llcorehttp/httprequest.cpp
@@ -443,13 +443,13 @@ HttpStatus HttpRequest::update(long usecs)
++iter)
{
// Swap op pointer for NULL;
- op = *iter; *iter = NULL;
+ op.reset();
+ op.swap(*iter);
// Process operation
op->visitNotifier(this);
// We're done with the operation
- op.reset();
}
}
}