summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/attribute/attributes_state_explorer/attributes_state_explorer_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/attribute/attributes_state_explorer/attributes_state_explorer_test.cpp')
-rw-r--r--searchcore/src/tests/proton/attribute/attributes_state_explorer/attributes_state_explorer_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/attribute/attributes_state_explorer/attributes_state_explorer_test.cpp b/searchcore/src/tests/proton/attribute/attributes_state_explorer/attributes_state_explorer_test.cpp
index 4047a02121c..49def82ec59 100644
--- a/searchcore/src/tests/proton/attribute/attributes_state_explorer/attributes_state_explorer_test.cpp
+++ b/searchcore/src/tests/proton/attribute/attributes_state_explorer/attributes_state_explorer_test.cpp
@@ -45,7 +45,7 @@ struct Fixture
addExtraAttribute("extra");
}
void addAttribute(const vespalib::string &name) {
- _mgr->addAttribute(name, AttributeUtils::getInt32Config(), 1);
+ _mgr->addAttribute({name, AttributeUtils::getInt32Config()}, 1);
}
void addExtraAttribute(const vespalib::string &name) {
_mgr->addExtraAttribute(AttributeVector::SP(new Int32Attribute(name)));