diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-05-21 14:04:24 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-05-21 14:04:24 +0200 |
commit | a5dd544d69bd299eebcc3467a9672ef1ec337033 (patch) | |
tree | 8f8e3fc6a48754333daf34d58f92af10f1c9e658 /searchcore | |
parent | fb212d0abb8ed773106cbdadd68e9800b257e44a (diff) |
Use std::regex instead of std::basic_regex<char>.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/tests/proton/docsummary/docsummary.cpp | 2 |
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 |