浏览代码

Compiler warning

(cherry picked from commit c9d7563e1896059ebfa5f454e1a27fdc09291597)

Source commit: c591560baca06776cef13353e5dfb561bbd2ccc6
Martin Prikryl 4 年之前
父节点
当前提交
4374b8ccc6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      source/core/Common.h

+ 2 - 0
source/core/Common.h

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