mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
gRPC: Fix Linux build issues
This commit is contained in:
parent
cc031e7895
commit
79645ceed9
@ -321,6 +321,8 @@ if (MSVC)
|
||||
endif(RESINSIGHT_ENABLE_GRPC)
|
||||
elseif (APPLE)
|
||||
set( EXE_FILES MACOSX_BUNDLE)
|
||||
else()
|
||||
set_source_files_properties(${GRPC_CPP_SOURCES} PROPERTIES COMPILE_FLAGS "-Woverloaded-virtual")
|
||||
endif()
|
||||
set( EXE_FILES
|
||||
${EXE_FILES}
|
||||
|
@ -298,7 +298,7 @@ void RiaGrpcClientStreamCallback<ServiceT, RequestT, ReplyT, StateHandlerT>::onI
|
||||
this->setNextCallState(RiaAbstractGrpcCallback::INIT_REQUEST_COMPLETED);
|
||||
// The read call will start reading the request data and push this callback back onto the command queue
|
||||
// when the read call is completed.
|
||||
m_reader.Read(&m_request, this);
|
||||
m_reader.Read(&this->m_request, this);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -320,7 +320,7 @@ void RiaGrpcClientStreamCallback<ServiceT, RequestT, ReplyT, StateHandlerT>::onI
|
||||
}
|
||||
|
||||
// Start reading and push this back onto the command queue.
|
||||
m_reader.Read(&m_request, this);
|
||||
m_reader.Read(&this->m_request, this);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -75,7 +75,7 @@ public:
|
||||
|
||||
if (resultData->ensureKnownResultLoaded(resAddr))
|
||||
{
|
||||
if (timeStep < (int)resultData->timeStepCount(resAddr))
|
||||
if (timeStep < resultData->timeStepCount(resAddr))
|
||||
{
|
||||
initResultAccess(caseData, request->grid_index(), porosityModel, timeStep, resAddr);
|
||||
return grpc::Status::OK;
|
||||
|
Loading…
Reference in New Issue
Block a user