fixing typo for #44

This commit is contained in:
Shane Grant
2014-01-16 14:37:53 -08:00
parent 253c3274fe
commit ce009d9c9a

View File

@@ -168,7 +168,7 @@ namespace cereal
}
else
{
if( ar.isSharedPointerValid )
if( ar.isSharedPointerValid( id ) )
ptr = std::static_pointer_cast<T>(ar.getSharedPointer(id));
else
ar.pushDeferredSharedPointerLoad(