Skip to content

Commit a46a78b

Browse files
committed
Fixed compilation errorr while compiling with HDF5.
1 parent 5b26406 commit a46a78b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

core/src/FieldmlSession.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ void FieldmlSession::pushErrorContext( const char *file, const int line, const c
246246
contextStack.push_back( pair<string, int>( string( function ) + string( ":" ) + string( file ), line ) );
247247
}
248248

249-
250249
void FieldmlSession::popErrorContext()
251250
{
252251
contextStack.pop_back();

io/src/Hdf5ArrayDataReader.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ class Hdf5ArrayDataReader :
7777

7878
virtual FmlIoErrorNumber readBooleanSlab( const int *offsets, const int *sizes, FmlBoolean *valueBuffer );
7979

80-
virtual FmlIoErrorNumber setStreamRequestCallback( Fieldml_StreamRequestCallbackFunction function, void *user_data_in )
81-
{
82-
return 0;
83-
}
80+
// virtual FmlIoErrorNumber setStreamRequestCallback( Fieldml_StreamRequestCallbackFunction function, void *user_data_in )
81+
// {
82+
// return 0;
83+
//}
8484

8585
virtual FmlIoErrorNumber close();
8686

0 commit comments

Comments
 (0)