1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 22:17:45 +00:00

Additional assert in framwork

This commit is contained in:
Mordred Admin 2018-03-09 11:16:36 +01:00
parent 9a93c25245
commit 225a064e55

View file

@ -27,6 +27,7 @@ namespace Core
template< typename T >
void set( boost::shared_ptr< T > value )
{
assert( value ); // why would anyone store nullptrs....
ObjectMap[typeid( T )] = value;
}
};