summaryrefslogtreecommitdiffstats
path: root/vsm
diff options
context:
space:
mode:
Diffstat (limited to 'vsm')
-rw-r--r--vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp b/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp
index 9131b21ddc9..b12282910bf 100644
--- a/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp
+++ b/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp
@@ -156,9 +156,9 @@ FieldSearchSpecMap::~FieldSearchSpecMap() {}
namespace {
const std::string _G_empty("");
const std::string _G_value(".value");
- const std::basic_regex _G_map1("\\{[a-zA-Z0-9]+\\}");
- const std::basic_regex _G_map2("\\{\".*\"\\}");
- const std::basic_regex _G_array("\\[[0-9]+\\]");
+ const std::basic_regex<char> _G_map1("\\{[a-zA-Z0-9]+\\}");
+ const std::basic_regex<char> _G_map2("\\{\".*\"\\}");
+ const std::basic_regex<char> _G_array("\\[[0-9]+\\]");
}
vespalib::string FieldSearchSpecMap::stripNonFields(const vespalib::string & rawIndex)