Reset: allow re-init of Nasal Ghosts.

After discussion with Thomas, reset needs the scenario this assert
was designed to guard against, so removing it for now.
This commit is contained in:
James Turner 2013-11-23 20:06:47 +00:00
parent 10375086ed
commit 7bbec8dbcb

View File

@ -291,8 +291,6 @@ namespace nasal
*/ */
static Ghost& init(const std::string& name) static Ghost& init(const std::string& name)
{ {
assert( !getSingletonPtr() );
getSingletonHolder().reset( new Ghost(name) ); getSingletonHolder().reset( new Ghost(name) );
return *getSingletonPtr(); return *getSingletonPtr();
} }