diff options
Diffstat (limited to 'searchcorespi/src')
3 files changed, 6 insertions, 6 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/plugin/factoryloader.h b/searchcorespi/src/vespa/searchcorespi/plugin/factoryloader.h index 0e464156f73..3eda6557fa0 100644 --- a/searchcorespi/src/vespa/searchcorespi/plugin/factoryloader.h +++ b/searchcorespi/src/vespa/searchcorespi/plugin/factoryloader.h @@ -17,7 +17,7 @@ public: * @param the name of the library. Like 'vesparise'. * @return the factory that is created. */ - IIndexManagerFactory::UP create(vespalib::stringref factory); + IIndexManagerFactory::UP create(vespalib::stringref factory); private: vespalib::LibraryPool _libraries; }; diff --git a/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.cpp b/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.cpp index 3e4a5c2bcfa..bd1b914cf39 100644 --- a/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.cpp +++ b/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.cpp @@ -44,7 +44,7 @@ FactoryRegistry::get(stringref uniqueName) const } bool -FactoryRegistry::isRegistered(vespalib::stringref uniqueName) const +FactoryRegistry::isRegistered(vespalib::stringref uniqueName) const { LockGuard guard(_lock); Registry::const_iterator found = _registry.find(uniqueName); diff --git a/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.h b/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.h index ce9f4d1813d..feb27d62950 100644 --- a/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.h +++ b/searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.h @@ -22,23 +22,23 @@ public: * @param factory The factory instance for producing IndexManagers. * @throws vespalib::IllegalArgument if factory is already registered. */ - void add(vespalib::stringref uniqueName, const IIndexManagerFactory::SP & factory); + void add(vespalib::stringref uniqueName, const IIndexManagerFactory::SP & factory); /** * Will unregister a factory. Should be called when a sharedlibrary is being unloaded. * @param uniqueName Unique name of factory to remove from registry. * @throws vespalib::IllegalArgument if factory is already registered. */ - void remove(vespalib::stringref uniqueName); + void remove(vespalib::stringref uniqueName); /** * This method will fetch a factory given its unique name. * @param name The name of the factory to return. * @return The factory. */ - const IIndexManagerFactory::SP & get(vespalib::stringref uniqueName) const; + const IIndexManagerFactory::SP & get(vespalib::stringref uniqueName) const; /** * Returns true if a factory with the given name has been registered. */ - bool isRegistered(vespalib::stringref uniqueName) const; + bool isRegistered(vespalib::stringref uniqueName) const; private: typedef std::map<vespalib::string, IIndexManagerFactory::SP> Registry; |