浏览代码

Fix typo in nodiscard attribute feature detection.

legacy
Sam Hocevar 8 年前
父节点
当前提交
29b41d9c08
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/lol/base/features.h

+ 1
- 1
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


正在加载...
取消
保存