]> git.pld-linux.org Git - packages/performous.git/blobdiff - bool_cast.patch
Version: 1.0
[packages/performous.git] / bool_cast.patch
diff --git a/bool_cast.patch b/bool_cast.patch
new file mode 100644 (file)
index 0000000..c9dad85
--- /dev/null
@@ -0,0 +1,11 @@
+--- performous-1.0/game/songparser.hh~ 2015-12-05 14:07:56.354059559 +0100
++++ performous-1.0/game/songparser.hh  2015-12-05 14:08:12.647545320 +0100
+@@ -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 static_cast<bool>(std::getline(m_ss, line));}
+       bool m_relative;
+       double m_gap;
+       double m_bpm;
This page took 0.037364 seconds and 4 git commands to generate.