summaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-08-12 22:35:04 +0200
committerHenning Baldersheim <balder@oath.com>2018-08-12 22:35:04 +0200
commitd38b49ddb881a67250ed738382d1ff72283cd45b (patch)
tree150bd862d7d66a2928b8b45773102ccedfb50eff /searchcorespi
parentfded37d945ca2539c96621b9ae33806ebbadf875 (diff)
Remove whitespace
Diffstat (limited to 'searchcorespi')
-rw-r--r--searchcorespi/src/vespa/searchcorespi/plugin/factoryloader.h2
-rw-r--r--searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.cpp2
-rw-r--r--searchcorespi/src/vespa/searchcorespi/plugin/factoryregistry.h8
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;