diff options
author | Nao Pross <naopross@thearcway.org> | 2019-02-02 23:17:42 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-02-02 23:17:42 +0100 |
commit | f373a821de82271690342ddaa0566d1f85bcab91 (patch) | |
tree | 6cefa7104995008165ba42a4f4e49e4d619f57ed /test/signal_test.cpp | |
parent | Finish signal, it compiles signal_test and works(!!) (diff) | |
download | flatland-f373a821de82271690342ddaa0566d1f85bcab91.tar.gz flatland-f373a821de82271690342ddaa0566d1f85bcab91.zip |
Fix few pointer casts
Diffstat (limited to 'test/signal_test.cpp')
-rw-r--r-- | test/signal_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/signal_test.cpp b/test/signal_test.cpp index 99e6747..b7816b8 100644 --- a/test/signal_test.cpp +++ b/test/signal_test.cpp @@ -21,7 +21,7 @@ private: public: test_emitter(channel& ch) : m_chan(ch) {} - void send_str(std::string msg) { + void send_str(const std::string& msg) { npdebug("emitting signal with msg=", msg); m_chan.emit(signal(msg)); } |