1--- Shiboken-1.2.4.org/tests/libsample/simplefile.cpp 2017-08-26 09:06:27.216859143 +0100 2+++ Shiboken-1.2.4/tests/libsample/simplefile.cpp 2017-08-26 09:05:40.037029652 +0100 3@@ -90,13 +90,13 @@ 4 SimpleFile::exists() const 5 { 6 std::ifstream ifile(p->m_filename); 7- return ifile; 8+ return (bool)ifile; 9 } 10 11 bool 12 SimpleFile::exists(const char* filename) 13 { 14 std::ifstream ifile(filename); 15- return ifile; 16+ return (bool)ifile; 17 } 18