summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-11-27 23:21:39 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-19 20:54:42 +0000
commita9ac89e8272c98998dd4ad65b8cc3e383348c800 (patch)
treef15261cc22786afe1bdbab63e9075970501e542b /searchlib
parent18503431e07455248d3eb12e23064ecb0d1c4f3f (diff)
remove (void)
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/index/schemautil.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/searchlib/src/vespa/searchlib/index/schemautil.h b/searchlib/src/vespa/searchlib/index/schemautil.h
index 621d31c3c15..d54e2c3e0f1 100644
--- a/searchlib/src/vespa/searchlib/index/schemautil.h
+++ b/searchlib/src/vespa/searchlib/index/schemautil.h
@@ -21,16 +21,16 @@ public:
bool _positions;
public:
- const schema::DataType & getDataType(void) const {
+ const schema::DataType & getDataType() const {
return _dataType;
}
- bool hasError(void) const { return _error; }
- bool hasPrefix(void) const { return _prefix; }
- bool hasPhrases(void) const { return _phrases; }
- bool hasPositions(void) const { return _positions; }
+ bool hasError() const { return _error; }
+ bool hasPrefix() const { return _prefix; }
+ bool hasPhrases() const { return _phrases; }
+ bool hasPositions() const { return _positions; }
- IndexSettings(void)
+ IndexSettings()
: _dataType(schema::STRING),
_error(false),
_prefix(false),
@@ -97,30 +97,30 @@ public:
_index = schema.getIndexFieldId(name);
}
- const Schema & getSchema(void) const {
+ const Schema & getSchema() const {
return _schema;
}
- uint32_t getIndex(void) const {
+ uint32_t getIndex() const {
return _index;
}
- const vespalib::string &getName(void) const {
+ const vespalib::string &getName() const {
return _schema.getIndexField(_index).getName();
}
- IndexIterator &operator++(void) {
+ IndexIterator &operator++() {
if (_index < _schema.getNumIndexFields()) {
++_index;
}
return *this;
}
- bool isValid(void) const {
+ bool isValid() const {
return _index < _schema.getNumIndexFields();
}
- IndexSettings getIndexSettings(void) const {
+ IndexSettings getIndexSettings() const {
return SchemaUtil::getIndexSettings(_schema, _index);
}