diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/attribute/i_attribute_factory.h')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/attribute/i_attribute_factory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/i_attribute_factory.h b/searchcore/src/vespa/searchcore/proton/attribute/i_attribute_factory.h index 6405ca79a4d..caa576e483e 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/i_attribute_factory.h +++ b/searchcore/src/vespa/searchcore/proton/attribute/i_attribute_factory.h @@ -5,6 +5,7 @@ #include <vespa/searchlib/common/serialnum.h> #include <vespa/vespalib/stllike/string.h> #include <memory> +#include <optional> namespace search { class AttributeVector; } namespace search::attribute { class Config; } @@ -23,7 +24,7 @@ struct IAttributeFactory virtual AttributeVectorSP create(const vespalib::string &name, const search::attribute::Config &cfg) const = 0; virtual void setupEmpty(const AttributeVectorSP &vec, - search::SerialNum serialNum) const = 0; + std::optional<search::SerialNum> serialNum) const = 0; }; } // namespace proton |