summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/server/feedstates_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-10-07 11:16:08 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-10-07 11:16:35 +0000
commit9bb9d8e14827ecc4dba2d43e2d9e76248c120e1d (patch)
tree9e64c1471c0391410c824f75e2dc1fbfa8585229 /searchcore/src/tests/proton/server/feedstates_test.cpp
parentf2e89d3361cae0e2e74bac89405a175d6ecf5e98 (diff)
Add noexcept as indicated by -Wnoeexcept
Diffstat (limited to 'searchcore/src/tests/proton/server/feedstates_test.cpp')
-rw-r--r--searchcore/src/tests/proton/server/feedstates_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/server/feedstates_test.cpp b/searchcore/src/tests/proton/server/feedstates_test.cpp
index 42d88328d14..59e504de6ce 100644
--- a/searchcore/src/tests/proton/server/feedstates_test.cpp
+++ b/searchcore/src/tests/proton/server/feedstates_test.cpp
@@ -124,7 +124,7 @@ TEST_F("require that replay progress is tracked", Fixture)
{
RemoveOperationContext opCtx(10);
TlsReplayProgress progress("test", 5, 15);
- PacketWrapper::SP wrap(new PacketWrapper(*opCtx.packet, &progress));
+ auto wrap = std::make_shared<PacketWrapper>(*opCtx.packet, &progress);
ForegroundThreadExecutor executor;
f.state.receive(wrap, executor);