summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/attribute/singlenumericattribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/vespa/searchlib/attribute/singlenumericattribute.h')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/singlenumericattribute.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/singlenumericattribute.h b/searchlib/src/vespa/searchlib/attribute/singlenumericattribute.h
index 2e9303bef62..fd2767eaee1 100644
--- a/searchlib/src/vespa/searchlib/attribute/singlenumericattribute.h
+++ b/searchlib/src/vespa/searchlib/attribute/singlenumericattribute.h
@@ -41,10 +41,10 @@ protected:
}
public:
- SingleValueNumericAttribute(const vespalib::string & baseFileName); // Only for testing
+ explicit SingleValueNumericAttribute(const vespalib::string & baseFileName); // Only for testing
SingleValueNumericAttribute(const vespalib::string & baseFileName, const AttributeVector::Config & c);
- ~SingleValueNumericAttribute();
+ ~SingleValueNumericAttribute() override;
uint32_t getValueCount(DocId doc) const override {
if (doc >= B::getNumDocs()) {