From 29b41d9c081a1ae0d3eaa54e3b545a23d275f6d7 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 15 Aug 2017 22:37:39 +0200 Subject: [PATCH] Fix typo in nodiscard attribute feature detection. --- src/lol/base/features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lol/base/features.h b/src/lol/base/features.h index f16e6945..3c6fad51 100644 --- a/src/lol/base/features.h +++ b/src/lol/base/features.h @@ -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