summaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-08-12 22:35:37 +0200
committerHenning Baldersheim <balder@oath.com>2018-08-12 22:35:37 +0200
commitbd7421d6b4cbf27f6d67d37f68212541f2aefcf4 (patch)
treea281a8b30cecbe1d5047a1f1404ecd41105f1d65 /searchcommon
parentd38b49ddb881a67250ed738382d1ff72283cd45b (diff)
Remove whitespace
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/common/schema.cpp8
-rw-r--r--searchcommon/src/vespa/searchcommon/common/schema.h14
2 files changed, 11 insertions, 11 deletions
diff --git a/searchcommon/src/vespa/searchcommon/common/schema.cpp b/searchcommon/src/vespa/searchcommon/common/schema.cpp
index 31362c80a94..5e9db03bf31 100644
--- a/searchcommon/src/vespa/searchcommon/common/schema.cpp
+++ b/searchcommon/src/vespa/searchcommon/common/schema.cpp
@@ -55,7 +55,7 @@ struct FieldName {
template <typename T>
uint32_t
-getFieldId(vespalib::stringref name, const T &map)
+getFieldId(vespalib::stringref name, const T &map)
{
typename T::const_iterator it = map.find(name);
return (it != map.end()) ? it->second : Schema::UNKNOWN_FIELD_ID;
@@ -398,19 +398,19 @@ Schema::addFieldSet(const FieldSet &fieldSet)
}
uint32_t
-Schema::getIndexFieldId(vespalib::stringref name) const
+Schema::getIndexFieldId(vespalib::stringref name) const
{
return getFieldId(name, _indexIds);
}
uint32_t
-Schema::getAttributeFieldId(vespalib::stringref name) const
+Schema::getAttributeFieldId(vespalib::stringref name) const
{
return getFieldId(name, _attributeIds);
}
uint32_t
-Schema::getSummaryFieldId(vespalib::stringref name) const
+Schema::getSummaryFieldId(vespalib::stringref name) const
{
return getFieldId(name, _summaryIds);
}
diff --git a/searchcommon/src/vespa/searchcommon/common/schema.h b/searchcommon/src/vespa/searchcommon/common/schema.h
index 6a1dc2827fa..d066ccb0a27 100644
--- a/searchcommon/src/vespa/searchcommon/common/schema.h
+++ b/searchcommon/src/vespa/searchcommon/common/schema.h
@@ -122,7 +122,7 @@ public:
std::vector<vespalib::string> _fields;
public:
- FieldSet(vespalib::stringref n) : _name(n), _fields() {}
+ FieldSet(vespalib::stringref n) : _name(n), _fields() {}
/**
* Create this field collection based on the given config lines.
@@ -285,7 +285,7 @@ public:
* @return the field id or UNKNOWN_FIELD_ID if not found.
* @param name the name of the field.
**/
- uint32_t getIndexFieldId(vespalib::stringref name) const;
+ uint32_t getIndexFieldId(vespalib::stringref name) const;
/**
* Check if a field is an index
@@ -294,7 +294,7 @@ public:
* @param name the name of the field.
**/
bool
- isIndexField(vespalib::stringref name) const
+ isIndexField(vespalib::stringref name) const
{
return _indexIds.find(name) != _indexIds.end();
}
@@ -306,7 +306,7 @@ public:
* @param name the name of the field.
**/
bool
- isSummaryField(vespalib::stringref name) const
+ isSummaryField(vespalib::stringref name) const
{
return _summaryIds.find(name) != _summaryIds.end();
}
@@ -317,7 +317,7 @@ public:
* @param name the name of the field.
**/
bool
- isAttributeField(vespalib::stringref name) const
+ isAttributeField(vespalib::stringref name) const
{
return _attributeIds.find(name) != _attributeIds.end();
}
@@ -347,7 +347,7 @@ public:
* @return the field id or UNKNOWN_FIELD_ID if not found.
* @param name the name of the field.
**/
- uint32_t getAttributeFieldId(vespalib::stringref name) const;
+ uint32_t getAttributeFieldId(vespalib::stringref name) const;
/**
* Get information about a specific summary field using the given fieldId.
@@ -374,7 +374,7 @@ public:
* @return the field id or UNKNOWN_FIELD_ID if not found.
* @param name the name of the field.
**/
- uint32_t getSummaryFieldId(vespalib::stringref name) const;
+ uint32_t getSummaryFieldId(vespalib::stringref name) const;
/**
* Get information about a specific field set