From 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 3 Mar 2017 20:57:02 +0100 Subject: Remove redundant 'inline' keyword ...from function definitions occurring within class definitions. Done with a rewriting Clang plugin (to be pushed later). Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8 Reviewed-on: https://gerrit.libreoffice.org/34874 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- framework/inc/threadhelp/gate.hxx | 4 ++-- framework/inc/threadhelp/transactionguard.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/inc') diff --git a/framework/inc/threadhelp/gate.hxx b/framework/inc/threadhelp/gate.hxx index 0c0466067cd9..b09ba7257c32 100644 --- a/framework/inc/threadhelp/gate.hxx +++ b/framework/inc/threadhelp/gate.hxx @@ -47,7 +47,7 @@ class Gate @short ctor @descr These initialize the object right as an open gate. *//*-*****************************************************************************************************/ - inline Gate() + Gate() : m_bClosed ( false ) { open(); @@ -59,7 +59,7 @@ class Gate blocked threads can running ... but I don't know if it's right - we are destroyed yet!? *//*-*****************************************************************************************************/ - inline ~Gate() + ~Gate() { open(); } diff --git a/framework/inc/threadhelp/transactionguard.hxx b/framework/inc/threadhelp/transactionguard.hxx index 033f61b940f6..2c4366cdee23 100644 --- a/framework/inc/threadhelp/transactionguard.hxx +++ b/framework/inc/threadhelp/transactionguard.hxx @@ -27,13 +27,13 @@ namespace framework{ class TransactionGuard { public: - inline TransactionGuard( TransactionManager& rManager, EExceptionMode eMode ) + TransactionGuard( TransactionManager& rManager, EExceptionMode eMode ) : m_pManager( &rManager ) { m_pManager->registerTransaction( eMode ); } - inline ~TransactionGuard() + ~TransactionGuard() { m_pManager->unregisterTransaction(); } -- cgit