From Martin Naylor, "Please find attached the modified observer_ptr include for fixing a compiler

issue for Windows and VS2008."
This commit is contained in:
Robert Osfield
2010-05-19 08:08:49 +00:00
parent 7ed822fd79
commit b3ac6484c1

View File

@@ -180,7 +180,7 @@ public:
*/
observer_ptr(T* rp)
{
_reference = getWeakReference(rp);
_reference = getWeakReference<T>(rp);
}
observer_ptr(const observer_ptr& wp) : _reference(wp._reference)