Quellcode durchsuchen

Fix typo in nodiscard attribute feature detection.

legacy
Sam Hocevar vor 8 Jahren
Ursprung
Commit
29b41d9c08
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/lol/base/features.h

+ 1
- 1
src/lol/base/features.h Datei anzeigen

@@ -55,7 +55,7 @@

/* Features detected through __has_cpp_attribute */
#ifdef __has_cpp_attribute
# if __has_cpp_attribute(deprecated)
# if __has_cpp_attribute(nodiscard)
# define LOL_FEATURE_CXX17_ATTRIBUTE_NODISCARD 1
# endif
#endif


Laden…
Abbrechen
Speichern