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-arcade/performous: Fix gcc-5 build. Bug #570572
Package-Manager: portage-2.2.26
- Loading branch information
Showing
2 changed files
with
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- game/songparser.hh.old 2016-04-19 21:57:29.594132735 +0200 | ||
+++ game/songparser.hh 2016-04-19 21:57:55.736682808 +0200 | ||
@@ -33,7 +33,7 @@ | ||
Song& m_song; | ||
std::stringstream m_ss; | ||
unsigned int m_linenum; | ||
- bool getline(std::string& line) { ++m_linenum; return std::getline(m_ss, line);} | ||
+ bool getline(std::string& line) { ++m_linenum; return !std::getline(m_ss, line).fail();} | ||
bool m_relative; | ||
double m_gap; | ||
double m_bpm; |
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