blob: 80a8d8f550e14520be543c591156d9f69744322c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Cast boost::shared_ptr explicitly for C++14.
See also: https://bugs.gentoo.org/show_bug.cgi?id=594674
--- a/src/controller_slot.cpp
+++ b/src/controller_slot.cpp
@@ -67,9 +67,9 @@ ControllerSlot::disconnect()
}
bool
ControllerSlot::is_connected() const
{
- return m_thread;
+ return static_cast<bool>(m_thread);
}
/* EOF */
|