/* This file is part of Metaproxy.
- Copyright (C) 2005-2008 Index Data
+ Copyright (C) 2005-2011 Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
}
-bool mp::FactoryFilter::add_creator(std::string fi,
- CreateFilterCallback cfc)
+bool mp::FactoryFilter::add_creator(const std::string &fi,
+ CreateFilterCallback cfc)
{
return m_p->m_fcm.insert(Rep::CallbackMap::value_type(fi, cfc)).second;
}