diff --git a/src/pe/rigidbody/BodyStorage.h b/src/pe/rigidbody/BodyStorage.h index 7e4475e9a7ab8dfd8e19730ae27ee141391a15f3..d8c91adf339abaa0adcc3be355e4bc96dc3d49f0 100644 --- a/src/pe/rigidbody/BodyStorage.h +++ b/src/pe/rigidbody/BodyStorage.h @@ -350,7 +350,7 @@ inline BodyStorage::cast_iterator<C> BodyStorage::begin() template< typename C > // Cast Type inline BodyStorage::const_cast_iterator<C> BodyStorage::begin() const { - return cbegin(); + return cbegin<C>(); } //************************************************************************************************* @@ -392,7 +392,7 @@ inline BodyStorage::cast_iterator<C> BodyStorage::end() template< typename C > // Cast Type inline BodyStorage::const_cast_iterator<C> BodyStorage::end() const { - return cend(); + return cend<C>(); } //*************************************************************************************************