Browse Source

NODISCARD: Use more robust language standard check

v6.1.6
reuk 3 years ago
parent
commit
c4022a08e5
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/system/juce_CompilerSupport.h

+ 1
- 1
modules/juce_core/system/juce_CompilerSupport.h View File

@@ -102,7 +102,7 @@
#define JUCE_CONSTEXPR constexpr
#endif
#if __cplusplus >= 201703L
#if JUCE_CXX17_IS_AVAILABLE
#define JUCE_NODISCARD [[nodiscard]]
#else
#define JUCE_NODISCARD


Loading…
Cancel
Save