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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user