My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pyside/gcc6.patch

18 lines
453 B

--- Shiboken-1.2.4.org/tests/libsample/simplefile.cpp 2017-08-26 09:06:27.216859143 +0100
+++ Shiboken-1.2.4/tests/libsample/simplefile.cpp 2017-08-26 09:05:40.037029652 +0100
@@ -90,13 +90,13 @@
SimpleFile::exists() const
{
std::ifstream ifile(p->m_filename);
- return ifile;
+ return (bool)ifile;
}
bool
SimpleFile::exists(const char* filename)
{
std::ifstream ifile(filename);
- return ifile;
+ return (bool)ifile;
}