From 9ef780e05c71f5d9d9f232efd3bafb8105d0767f Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 31 Jul 2020 15:48:18 -0700 Subject: [PATCH] Build fix-- these are not needed. --- core/SharedPtr.hpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/core/SharedPtr.hpp b/core/SharedPtr.hpp index 8af4617eb..7382f7bc9 100644 --- a/core/SharedPtr.hpp +++ b/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