Skip to content
Snippets Groups Projects
Commit 1c8fc76f authored by Bertrand Bellenot's avatar Bertrand Bellenot Committed by Guilherme Amadio
Browse files

formatting (clang-format)

parent a6dba659
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ private:
CRITICAL_SECTION fCritSect;
constexpr static int kIsRecursive = BIT(14);
public:
TWin32Mutex(Bool_t recursive=kFALSE);
virtual ~TWin32Mutex();
......
......@@ -71,11 +71,11 @@ Int_t TWin32Mutex::UnLock(void)
}
namespace {
struct TWin32MutexState: public TVirtualMutex::State {
int fLockCount = 0;
};
struct TWin32MutexState: public TVirtualMutex::State {
int fLockCount = 0;
};
}
////////////////////////////////////////////////////////////////////////////////
/// Reset the mutex state to unlocked. The state before resetting to unlocked is
/// returned and can be passed to `Restore()` later on. This function must only
......@@ -108,7 +108,7 @@ std::unique_ptr<TVirtualMutex::State> TWin32Mutex::Reset()
void TWin32Mutex::Restore(std::unique_ptr<TVirtualMutex::State> &&state)
{
TWin32MutexState *pState = dynamic_cast<TWin32MutexState *>(state.get());
TWin32MutexState *pState = dynamic_cast<TWin32MutexState *>(state.get());
if (!pState) {
if (state) {
SysError("Restore", "LOGIC ERROR - invalid state object!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment