diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-04-11 10:40:08 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-04-11 10:40:08 +0300 |
commit | 375cf3d9ce71cc0a55f319dd2188c1bf03d7b057 (patch) | |
tree | b27cc2183fb2467843678a77eef1a95f9b41a493 /games-util/xboxdrv/files/xboxdrv-scm-fix-c++14.patch | |
parent | f151afa59c71f98664e94f4e974ebabac6daf757 (diff) |
xboxdrv-scm
Diffstat (limited to 'games-util/xboxdrv/files/xboxdrv-scm-fix-c++14.patch')
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv-scm-fix-c++14.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/games-util/xboxdrv/files/xboxdrv-scm-fix-c++14.patch b/games-util/xboxdrv/files/xboxdrv-scm-fix-c++14.patch new file mode 100644 index 0000000..80a8d8f --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv-scm-fix-c++14.patch @@ -0,0 +1,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 */ |