summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@yahooinc.com>2023-03-08 10:31:25 +0000
committerHåvard Pettersen <havardpe@yahooinc.com>2023-03-08 10:31:25 +0000
commitc95beeaee379877c9c706000529074e826788bf9 (patch)
tree6705e409430d21072d4df05b78619f86e1efd8c4 /messagebus
parent1a47ec734d8a266059f2c03c95a96bd5ae655aab (diff)
added reset function
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/tests/replygate/replygate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messagebus/src/tests/replygate/replygate.cpp b/messagebus/src/tests/replygate/replygate.cpp
index c71993c9368..56b849833e0 100644
--- a/messagebus/src/tests/replygate/replygate.cpp
+++ b/messagebus/src/tests/replygate/replygate.cpp
@@ -79,7 +79,7 @@ TEST("replygate_test") {
EXPECT_TRUE(MyReply::dtorCnt == 1);
EXPECT_TRUE(MyGate::ctorCnt == 1);
EXPECT_TRUE(MyGate::dtorCnt == 0);
- gate = vespalib::ref_counted<MyGate>();
+ gate.reset();
EXPECT_TRUE(MyGate::ctorCnt == 1);
EXPECT_TRUE(MyGate::dtorCnt == 1);
}