Przeglądaj źródła

Build fix-- these are not needed.

Adam Ierymenko 5 lat temu
rodzic
commit
9ef780e05c
1 zmienionych plików z 0 dodań i 16 usunięć
  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
 ZT_INLINE void swap(ZeroTier::SharedPtr< T > &a, ZeroTier::SharedPtr< T > &b) noexcept
 { a.swap(b); }
 { 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
 } // namespace std
 
 
 #endif
 #endif