summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-05-21 14:04:24 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-05-21 14:04:24 +0200
commita5dd544d69bd299eebcc3467a9672ef1ec337033 (patch)
tree8f8e3fc6a48754333daf34d58f92af10f1c9e658 /searchcore
parentfb212d0abb8ed773106cbdadd68e9800b257e44a (diff)
Use std::regex instead of std::basic_regex<char>.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/tests/proton/docsummary/docsummary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/docsummary/docsummary.cpp b/searchcore/src/tests/proton/docsummary/docsummary.cpp
index a3acbfdbfe0..38b85594a62 100644
--- a/searchcore/src/tests/proton/docsummary/docsummary.cpp
+++ b/searchcore/src/tests/proton/docsummary/docsummary.cpp
@@ -657,7 +657,7 @@ Test::requireThatSummariesTimeout()
vespalib::Slime summary = getSlime(*rep, 0, false);
JsonFormat::encode(summary, buf, false);
auto bufstring = buf.get().make_stringref();
- EXPECT_TRUE(std::regex_search(bufstring.data(), bufstring.data() + bufstring.size(), std::basic_regex<char>("Timed out with -[0-9]+us left.")));
+ EXPECT_TRUE(std::regex_search(bufstring.data(), bufstring.data() + bufstring.size(), std::regex("Timed out with -[0-9]+us left.")));
}
void