From a51ac8b905c69a8fbfa9fe7f5c3a6f1e665a170d Mon Sep 17 00:00:00 2001 From: Beep6581 Date: Sat, 17 Oct 2015 15:25:37 +0200 Subject: [PATCH] a little remaining astyle --- rtgui/history.h | 5 ++++- rtgui/threadutils.h | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rtgui/history.h b/rtgui/history.h index daf3b9205..760444b5f 100644 --- a/rtgui/history.h +++ b/rtgui/history.h @@ -126,7 +126,10 @@ public: void redo (); bool blistenerLock; - void resetSnapShotNumber() {bmnum = 1;}; + void resetSnapShotNumber() + { + bmnum = 1; + }; }; #endif diff --git a/rtgui/threadutils.h b/rtgui/threadutils.h index 2ee654c4e..b7231d5de 100644 --- a/rtgui/threadutils.h +++ b/rtgui/threadutils.h @@ -260,7 +260,7 @@ public: inline MyReaderLock(MyRWMutex& mutex, const char* name, const char* file, const int line) : rwMutex(mutex), locked(false), locknumber(0) #else public: - inline MyReaderLock(MyRWMutex& mutex) : rwMutex(mutex) + inline MyReaderLock(MyRWMutex & mutex) : rwMutex(mutex) #endif { @@ -496,7 +496,7 @@ public: inline MyWriterLock(MyRWMutex& mutex, const char* name, const char* file, const int line) : rwMutex(mutex), locked(false), locknumber(0) #else public: - inline MyWriterLock(MyRWMutex& mutex) : rwMutex(mutex) + inline MyWriterLock(MyRWMutex & mutex) : rwMutex(mutex) #endif { // to operate safely