pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pokerth: Resolve ambiguous overload between std::advance and boost::iterators::advance_adl_barrier::advance
Module Name: pkgsrc-wip
Committed By: Gary Duzan <gary%duzan.org@localhost>
Pushed By: gary
Date: Sun Aug 27 09:39:34 2017 -0400
Changeset: f787bdf96ffe17baff036b12589a552348681ce6
Added Files:
pokerth/patches/patch-src_gui_qt_gametable_gametableimpl.cpp
Log Message:
pokerth: Resolve ambiguous overload between std::advance and boost::iterators::advance_adl_barrier::advance
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f787bdf96ffe17baff036b12589a552348681ce6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
.../patches/patch-src_gui_qt_gametable_gametableimpl.cpp | 13 +++++++++++++
1 file changed, 13 insertions(+)
diffs:
diff --git a/pokerth/patches/patch-src_gui_qt_gametable_gametableimpl.cpp b/pokerth/patches/patch-src_gui_qt_gametable_gametableimpl.cpp
new file mode 100644
index 0000000000..c836db1bcb
--- /dev/null
+++ b/pokerth/patches/patch-src_gui_qt_gametable_gametableimpl.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/gui/qt/gametable/gametableimpl.cpp.orig 2017-08-27 13:02:45.836007109 +0000
++++ src/gui/qt/gametable/gametableimpl.cpp
+@@ -3859,7 +3859,7 @@ void gameTableImpl::triggerVoteOnKick(in
+ int playerCount = static_cast<int>(seatList->size());
+ if (id < playerCount) {
+ PlayerListIterator pos = seatList->begin();
+- advance(pos, id);
++ std::advance(pos, id);
+ myStartWindow->getSession()->startVoteKickPlayer((*pos)->getMyUniqueID());
+ }
+ }
Home |
Main Index |
Thread Index |
Old Index