src/common/modfactory.cpp
void ModuleFactory::addResources(const std::string& modid,
                                 const IResourcesPtr& res)
{
    BOOST_ASSERT(getResourcesUnsafe(modid) == NULL);
    m_resources.insert(ResourcesMap::value_type(modid, res));
}
// Adds resources to the known resources list
Adds resources to the known resources list
Adds resources to the known resources list
void ModuleFactory::addResources(const std::string& modid,
                                 const IResourcesPtr& res)
{
    BOOST_ASSERT(getResourcesUnsafe(modid) == NULL);
    m_resources.insert(ResourcesMap::value_type(modid, res));
}
void ModuleFactory :: addResources ( const std :: string & modid , const IResourcesPtr & res ) { BOOST_ASSERT ( getResourcesUnsafe ( modid ) == NULL ) ; m_resources . insert ( ResourcesMap :: value_type ( modid , res ) ) ; }
Adds resources to the known resources list
Adds resources to the known resources list