]>
Commit | Line | Data |
---|---|---|
47127cd5 AM |
1 | --- shiboken-1.2.2/tests/libsample/simplefile.cpp~ 2014-04-22 17:42:48.000000000 +0200 |
2 | +++ shiboken-1.2.2/tests/libsample/simplefile.cpp 2018-07-06 18:52:32.818363884 +0200 | |
3 | @@ -90,7 +90,7 @@ bool | |
4 | SimpleFile::exists() const | |
5 | { | |
6 | std::ifstream ifile(p->m_filename); | |
7 | - return ifile; | |
8 | + return !!ifile; | |
9 | } | |
10 | ||
11 | bool | |
12 | --- shiboken-1.2.2/tests/libsample/simplefile.cpp~ 2018-07-06 18:58:34.000000000 +0200 | |
13 | +++ shiboken-1.2.2/tests/libsample/simplefile.cpp 2018-07-06 18:59:39.479838951 +0200 | |
14 | @@ -97,6 +97,6 @@ bool | |
15 | SimpleFile::exists(const char* filename) | |
16 | { | |
17 | std::ifstream ifile(filename); | |
18 | - return ifile; | |
19 | + return !!ifile; | |
20 | } | |
21 |