瀏覽代碼

[Fix] Fixing 'is-base-of'

mapleFU 5 年之前
父節點
當前提交
b104959a1b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ReadMe.md

+ 1 - 1
ReadMe.md

@@ -2384,7 +2384,7 @@ template <typename T> void inc_counter(T& intTypeCounter);
 template <typename T> void inc_counter(
   T& counterObj, 
   typename std::enable_if<
-    std::is_base_of<T, ICounter>::value
+    std::is_base_of<ICounter, T>::value
   >::type* = nullptr );
 
 template <typename T> void inc_counter(