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