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

Additional assert in framwork

This commit is contained in:
Mordred Admin 2018-03-09 11:16:36 +01:00
parent b441d4ec99
commit e868f8c4f4

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;
}
};