diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-02-26 22:29:59 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-02-26 22:29:59 +0100 |
commit | 68c7dd00798df33161bedb1050a2aaacf2178306 (patch) | |
tree | 96d55eba9486ee4b87188119686e0d637ec6b2c2 /searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp | |
parent | 87d963f7aa9e8a51578c10857718a301e6ebb2ba (diff) |
Remove stringop-overflow warning (searchlib).
Diffstat (limited to 'searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp')
-rw-r--r-- | searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp b/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp index 29f7b5c0276..4f037415b35 100644 --- a/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp +++ b/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp @@ -1055,7 +1055,7 @@ SearchContextTest::testSearchIteratorUnpacking() { Config cfg(BasicType::INT32, CollectionType::SINGLE); cfg.setFastSearch(true); - config.emplace_back("sfs-int32", cfg); + config.emplace_back(vespalib::string("sfs-int32"), cfg); } { Config cfg(BasicType::INT32, CollectionType::ARRAY); |