Skip to content

Commit 9c2a640

Browse files
committed
JUCE's min spec is C++17.
1 parent eb61e4d commit 9c2a640

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

modules/squarepine_core/behaviours/Lockable.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,8 @@ class LockableBase<std::recursive_mutex>
5151
/** The type of lock to use for locking. */
5252
using Lock = std::recursive_mutex;
5353

54-
#if JUCE_CXX17_IS_AVAILABLE
5554
/** The type of lock to use for automatically locking and unlocking using RAII. */
5655
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
6156

6257
/** @returns the Lock that locks this lockable.
6358

modules/squarepine_core/valuetree/ValueTreeHelpers.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515
#define CREATE_INLINE_IDENTIFIER(name) \
1616
static const Identifier name##Id (JUCE_STRINGIFY (name));
1717

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);
2321

2422
//==============================================================================
2523
/** Appends a child tree to the parent tree, and returns the child.

0 commit comments

Comments
 (0)