aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--whisperTopic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisperTopic.cpp b/whisperTopic.cpp
index 79adf3d6..fa7d24db 100644
--- a/whisperTopic.cpp
+++ b/whisperTopic.cpp
@@ -68,7 +68,7 @@ BOOST_AUTO_TEST_CASE(topic)
this_thread::sleep_for(chrono::milliseconds(50));
Host ph("Test", NetworkPreferences(50300, "", false, true));
- auto wh = ph.registerCapability(new WhisperHost());
+ shared_ptr<WhisperHost> wh = ph.registerCapability(new WhisperHost());
this_thread::sleep_for(chrono::milliseconds(500));
ph.start();
this_thread::sleep_for(chrono::milliseconds(500));