mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
Fixes by clang-format
This commit is contained in:
1 parent
b3bb8678f0
commit
26d2f81b3d
3 files changed
+16
-10
No files matched your search
@@ -69,14 +69,14 @@ namespace RimKeywordFactory
|
||||
|
||||
namespace
|
||||
{
|
||||
// A single shared parser instance is used for all keyword schema lookups. Constructing an
|
||||
// Opm::Parser populates the complete keyword database and costs milliseconds, which is far too
|
||||
// expensive to repeat for every keyword being serialised.
|
||||
const Opm::Parser& sharedParser()
|
||||
{
|
||||
static const Opm::Parser parser;
|
||||
return parser;
|
||||
}
|
||||
// A single shared parser instance is used for all keyword schema lookups. Constructing an
|
||||
// Opm::Parser populates the complete keyword database and costs milliseconds, which is far too
|
||||
// expensive to repeat for every keyword being serialised.
|
||||
const Opm::Parser& sharedParser()
|
||||
{
|
||||
static const Opm::Parser parser;
|
||||
return parser;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -125,7 +125,10 @@ public:
|
||||
using MethodRequestT = std::function<
|
||||
void( ServiceT&, ServerContext*, RequestT*, ResponseWriterT*, CompletionQueue*, ServerCompletionQueue*, void* )>;
|
||||
|
||||
RiaGrpcUnaryCallback( ServiceT* service, MethodImplT methodImpl, MethodRequestT methodRequest, bool runsOnServerThread = false );
|
||||
RiaGrpcUnaryCallback( ServiceT* service,
|
||||
MethodImplT methodImpl,
|
||||
MethodRequestT methodRequest,
|
||||
bool runsOnServerThread = false );
|
||||
|
||||
RiaGrpcCallbackInterface* createNewFromThis() const override;
|
||||
void createRequestHandler( ServerCompletionQueue* completionQueue ) override;
|
||||
|
||||
@@ -109,7 +109,10 @@ RiaGrpcUnaryCallback<ServiceT, RequestT, ReplyT>::RiaGrpcUnaryCallback( ServiceT
|
||||
template <typename ServiceT, typename RequestT, typename ReplyT>
|
||||
RiaGrpcCallbackInterface* RiaGrpcUnaryCallback<ServiceT, RequestT, ReplyT>::createNewFromThis() const
|
||||
{
|
||||
return new RiaGrpcUnaryCallback<ServiceT, RequestT, ReplyT>( this->m_service, this->m_methodImpl, this->m_methodRequest, m_runsOnServerThread );
|
||||
return new RiaGrpcUnaryCallback<ServiceT, RequestT, ReplyT>( this->m_service,
|
||||
this->m_methodImpl,
|
||||
this->m_methodRequest,
|
||||
m_runsOnServerThread );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user