mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
54975cd08c
Port changes: * Change to DISTVERSION * Add LICENSE_FILE * Change to cmake (from gmake) * Update of all options accordingly PR: 225537 Submitted by: Iouri V. Ivliev <fbsd@any.com.ru> (maintainer)
21 lines
707 B
C++
21 lines
707 B
C++
--- src/fileformat/pfsoutpfm.cpp.orig 2018-01-19 06:59:44 UTC
|
|
+++ src/fileformat/pfsoutpfm.cpp
|
|
@@ -85,7 +85,7 @@ void writePFMFileColor( FILE *fh, int wi
|
|
}
|
|
int written = fwrite( line, sizeof( float ), lineSize, fh );
|
|
if( written != lineSize )
|
|
- throw new pfs::Exception( "Unable to write data" );
|
|
+ throw pfs::Exception( "Unable to write data" );
|
|
}
|
|
delete[] line;
|
|
}
|
|
@@ -109,7 +109,7 @@ void writePFMFileGrayscale( FILE *fh, in
|
|
}
|
|
int written = fwrite( line, sizeof( float ), lineSize, fh );
|
|
if( written != lineSize )
|
|
- throw new pfs::Exception( "Unable to write data" );
|
|
+ throw pfs::Exception( "Unable to write data" );
|
|
}
|
|
delete[] line;
|
|
}
|