MAINT-5271: Microsoft is just too permissive.

meow-7.2.2
rider 2015-10-16 12:15:33 -07:00
parent 8d334ca1bf
commit 7c56430258
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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();
}
}
}