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

Use a EStatusBits 'enum' instead of a 'constexpr static int' (allowing...

Use a EStatusBits 'enum' instead of a 'constexpr static int' (allowing automatic checking for overlaps)
parent 2717467e
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,9 @@ friend class TWin32Condition;
private:
CRITICAL_SECTION fCritSect;
constexpr static int kIsRecursive = BIT(14);
enum EStatusBits {
kIsRecursive = BIT(14);
}
public:
TWin32Mutex(Bool_t recursive=kFALSE);
......
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