Parent Directory | Revision Log | Patch
revision 1.7 by dheck, Sun May 18 19:09:14 2003 UTC | revision 1.8 by ant_39, Sat Jun 14 21:05:10 2003 UTC | |
---|---|---|
# | Line 162 ModelManager::create (const std::string | Line 162 ModelManager::create (const std::string |
162 | void | void |
163 | ModelManager::remove (const std::string &name) | ModelManager::remove (const std::string &name) |
164 | { | { |
165 | m_templates.remove (name); | ModelMap::iterator i = m_templates.find(name); |
166 | if (i != m_templates.end()) { | |
167 | delete i->second; | |
168 | m_templates.remove (name); | |
169 | } | |
170 | } | } |
171 | ||
172 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |