Explorar o código

meta: get around an issue of msvc

Michele Caini %!s(int64=5) %!d(string=hai) anos
pai
achega
5dd8d05114
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }