zzj 6 年之前
父節點
當前提交
04071b0ddb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      write-copy.h

+ 1 - 1
write-copy.h

@@ -216,7 +216,7 @@ struct single_base:write_copy_base<T,K,V>
     }
 };
 
-template<typename T,typename K,typename V> safe_shared_ptr<T> single_base<T,K,V>::m_instance=std::make_shared<T>();
+template<typename T,typename K,typename V> safe_shared_ptr<T> single_base<T,K,V>::m_instance(std::make_shared<T>());
 
 #endif