Skip to content

Commit 7d63bf9

Browse files
committed
[apps] minor build fix for msvc
1 parent 376979c commit 7d63bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/application/pgmread.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ unsigned char* readPGMfile( const string& filename, int& w, int& h )
3838
{
3939
boost::filesystem::path input_file( filename );
4040

41-
if( not boost::filesystem::exists( input_file ) ) {
41+
if( ! boost::filesystem::exists( input_file ) ) {
4242
cerr << "File " << input_file << " does not exist" << endl;
4343
return nullptr;
4444
}
4545

4646
ifstream pgmfile( filename.c_str(), ios::binary );
47-
if( not pgmfile.is_open() ) {
47+
if( ! pgmfile.is_open() ) {
4848
cerr << "File " << input_file << " could not be opened for reading" << endl;
4949
return nullptr;
5050
}

0 commit comments

Comments
 (0)