Преглед изворни кода

Compiler warning

Source commit: f8c9fad251aa6e098db26fd1c0a08e4b2644b2f2
Martin Prikryl пре 4 година
родитељ
комит
c9d7563e18
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      source/core/Common.h

+ 2 - 0
source/core/Common.h

@@ -477,6 +477,7 @@ public:
     }
   }
 
+  #pragma warn -inl
   template<typename P>
   void Invoke(const P & p)
   {
@@ -487,6 +488,7 @@ public:
       ++I;
     }
   }
+  #pragma warn .inl
 
   bool Contains(T EventHandler)
   {