Browse Source

view_pack: get around an issue of VS2017

Michele Caini 5 years ago
parent
commit
5072e96277
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/view_pack.hpp

+ 1 - 1
src/entt/entity/view_pack.hpp

@@ -267,7 +267,7 @@ public:
      * @return A copy of the requested view from the pack.
      */
     template<typename Type>
-    [[nodiscard]] operator Type() const ENTT_NOEXCEPT {
+    operator Type() const ENTT_NOEXCEPT {
         return std::get<Type>(pack);
     }