瀏覽代碼

Build fix-- these are not needed.

Adam Ierymenko 5 年之前
父節點
當前提交
9ef780e05c
共有 1 個文件被更改,包括 0 次插入16 次删除
  1. 0 16
      core/SharedPtr.hpp

+ 0 - 16
core/SharedPtr.hpp

@@ -220,22 +220,6 @@ template< typename T >
 ZT_INLINE void swap(ZeroTier::SharedPtr< T > &a, ZeroTier::SharedPtr< T > &b) noexcept
 { a.swap(b); }
 
-template< typename T >
-constexpr bool is_swappable(ZeroTier::SharedPtr< T > &a) noexcept
-{ return true; }
-
-template< typename T >
-constexpr bool is_swappable_with(ZeroTier::SharedPtr< T > &a, ZeroTier::SharedPtr< T > &b) noexcept
-{ return true; }
-
-template< typename T >
-constexpr bool is_nothrow_swappable(ZeroTier::SharedPtr< T > &a) noexcept
-{ return true; }
-
-template< typename T >
-constexpr bool is_nothrow_swappable_with(ZeroTier::SharedPtr< T > &a, ZeroTier::SharedPtr< T > &b) noexcept
-{ return true; }
-
 } // namespace std
 
 #endif