MAINT-5271: Microsoft is just too permissive.
parent
8d334ca1bf
commit
7c56430258
|
|
@ -162,7 +162,7 @@ public:
|
|||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue