File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,8 @@ class LockableBase<std::recursive_mutex>
51
51
/* * The type of lock to use for locking. */
52
52
using Lock = std::recursive_mutex;
53
53
54
- #if JUCE_CXX17_IS_AVAILABLE
55
54
/* * The type of lock to use for automatically locking and unlocking using RAII. */
56
55
using ScopedLock = std::scoped_lock<Lock>;
57
- #else
58
- /* * The type of lock to use for automatically locking and unlocking using RAII. */
59
- using ScopedLock = std::lock_guard<Lock>;
60
- #endif
61
56
62
57
/* * @returns the Lock that locks this lockable.
63
58
Original file line number Diff line number Diff line change 15
15
#define CREATE_INLINE_IDENTIFIER (name ) \
16
16
static const Identifier name##Id (JUCE_STRINGIFY (name));
17
17
18
- #if DOXYGEN || JUCE_CXX17_IS_AVAILABLE
19
- /* * */
20
- #define CREATE_INLINE_CLASS_IDENTIFIER (name ) \
21
- inline static const Identifier name##Id = JUCE_STRINGIFY (name);
22
- #endif
18
+ /* * */
19
+ #define CREATE_INLINE_CLASS_IDENTIFIER (name ) \
20
+ inline static const Identifier name##Id = JUCE_STRINGIFY (name);
23
21
24
22
// ==============================================================================
25
23
/* * Appends a child tree to the parent tree, and returns the child.
You can’t perform that action at this time.
0 commit comments