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.
dev-games/clanlib: Fix building with GCC-6
Closes: https://bugs.gentoo.org/596112 Closes: gentoo#5915 Package-Manager: Portage-2.3.10, Repoman-2.3.3
- Loading branch information
1 parent
ef61055
commit f928bd3
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
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
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,16 @@ | ||
Bug: https://bugs.gentoo.org/596112 | ||
|
||
--- a/Sources/Core/IOData/Generic/datafile_inputprovider.h | ||
+++ b/Sources/Core/IOData/Generic/datafile_inputprovider.h | ||
@@ -142,9 +142,9 @@ | ||
void insert(const std::string &resource_id, int data_pos, int data_size) | ||
{ | ||
cache.insert( | ||
- std::make_pair<std::string const, std::pair<int, int> >( | ||
+ std::pair<std::string const, std::pair<int, int> >( | ||
resource_id, | ||
- std::make_pair<int,int>(data_pos, data_size))); | ||
+ std::pair<int,int>(data_pos, data_size))); | ||
} | ||
|
||
private: |