From e3ce3b049dd81a7566567c61c05460e50fd1d142 Mon Sep 17 00:00:00 2001 From: Nim Wijetunga Date: Tue, 9 Feb 2021 14:08:14 -0500 Subject: [PATCH] user literal string ref --- .../workloads/WatchesSameKeyCorrectness.actor.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fdbserver/workloads/WatchesSameKeyCorrectness.actor.cpp b/fdbserver/workloads/WatchesSameKeyCorrectness.actor.cpp index 247ce00753..78f3751bff 100644 --- a/fdbserver/workloads/WatchesSameKeyCorrectness.actor.cpp +++ b/fdbserver/workloads/WatchesSameKeyCorrectness.actor.cpp @@ -40,11 +40,11 @@ struct WatchesSameKeyWorkload : TestWorkload { Future setup(Database const& cx) override { if ( clientId == 0 ) { - cases.push_back( case1(cx, StringRef("foo1"), this) ); - cases.push_back( case2(cx, StringRef("foo2"), this) ); - cases.push_back( case3(cx, StringRef("foo3"), this) ); - cases.push_back( case4(cx, StringRef("foo4"), this) ); - cases.push_back( case5(cx, StringRef("foo5"), this) ); + cases.push_back( case1(cx, LiteralStringRef("foo1"), this) ); + cases.push_back( case2(cx, LiteralStringRef("foo2"), this) ); + cases.push_back( case3(cx, LiteralStringRef("foo3"), this) ); + cases.push_back( case4(cx, LiteralStringRef("foo4"), this) ); + cases.push_back( case5(cx, LiteralStringRef("foo5"), this) ); } return Void(); }