archrelease: copy trunk to community-any
[ArchLinux/community.git] / pokerth / trunk / pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
blob2e8c9c50c5eb40605624b424573a06645a986448
1 Boost 1.65 made 'advance()' ambiguous.
2 Bug: https://bugs.gentoo.org/show_bug.cgi?id=629966
4 --- a/src/gui/qt/gametable/gametableimpl.cpp
5 +++ b/src/gui/qt/gametable/gametableimpl.cpp
6 @@ -3859,7 +3859,7 @@
7 int playerCount = static_cast<int>(seatList->size());
8 if (id < playerCount) {
9 PlayerListIterator pos = seatList->begin();
10 - advance(pos, id);
11 + std::advance(pos, id);
12 myStartWindow->getSession()->startVoteKickPlayer((*pos)->getMyUniqueID());