diff --git a/src/common/Framework.h b/src/common/Framework.h index 06e48ba5..d6e57fbc 100644 --- a/src/common/Framework.h +++ b/src/common/Framework.h @@ -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; } };