forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-board/pokerth: Fully qualify std::advance
Closes: https://bugs.gentoo.org/show_bug.cgi?id=629966 Package-Manager: Portage-2.3.8, Repoman-2.3.3
- Loading branch information
1 parent
b7eb4cc
commit 1f6eeb3
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
games-board/pokerth/files/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Boost 1.65 made 'advance()' ambiguous. | ||
Bug: https://bugs.gentoo.org/show_bug.cgi?id=629966 | ||
|
||
--- a/src/gui/qt/gametable/gametableimpl.cpp | ||
+++ b/src/gui/qt/gametable/gametableimpl.cpp | ||
@@ -3859,7 +3859,7 @@ | ||
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()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters