ソースを参照

meta: get around an issue of msvc

Michele Caini 6 年 前
コミット
5dd8d05114
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/entt/meta/meta.hpp

+ 1 - 1
src/entt/meta/meta.hpp

@@ -785,7 +785,7 @@ inline bool meta_container::erase(meta_any it_or_key) {
  * @brief Returns true if a meta container is valid, false otherwise.
  * @return True if the meta container is valid, false otherwise.
  */
-[[nodiscard]] meta_container::operator bool() const ENTT_NOEXCEPT {
+meta_container::operator bool() const ENTT_NOEXCEPT {
     return view;
 }