Pārlūkot izejas kodu

view_pack: get around an issue of VS2017

Michele Caini 5 gadi atpakaļ
vecāks
revīzija
5072e96277
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
     }