Skip to content
Snippets Groups Projects
Commit 7c564302 authored by rider's avatar rider
Browse files

MAINT-5271: Microsoft is just too permissive.

parent 8d334ca1
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ class HttpOperation : private boost::noncopyable,
ptr_t ptr = findByHandle(handle);
if (!ptr)
return boost::shared_ptr< OPT >();
return boost::dynamic_pointer_cast<HttpOpRequest>(ptr);
return boost::dynamic_pointer_cast< OPT >(ptr);
}
protected:
......
......@@ -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();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment