diff --git a/include/utils/KeyedVector.h b/include/utils/KeyedVector.h index c4faae0b7..44e9c08d4 100644 --- a/include/utils/KeyedVector.h +++ b/include/utils/KeyedVector.h @@ -97,13 +97,6 @@ private: SortedVector< key_value_pair_t > mVector; }; -// KeyedVector can be trivially moved using memcpy() because its -// underlying SortedVector can be trivially moved. -template struct trait_trivial_move > { - enum { value = trait_trivial_move > >::value }; -}; - - // --------------------------------------------------------------------------- /** diff --git a/include/utils/SortedVector.h b/include/utils/SortedVector.h index 2d3e82a7c..ea0f82c40 100644 --- a/include/utils/SortedVector.h +++ b/include/utils/SortedVector.h @@ -133,10 +133,6 @@ protected: virtual int do_compare(const void* lhs, const void* rhs) const; }; -// SortedVector can be trivially moved using memcpy() because moving does not -// require any change to the underlying SharedBuffer contents or reference count. -template struct trait_trivial_move > { enum { value = true }; }; - // --------------------------------------------------------------------------- // No user serviceable parts from here... // --------------------------------------------------------------------------- diff --git a/include/utils/Vector.h b/include/utils/Vector.h index ed7b72521..86800f562 100644 --- a/include/utils/Vector.h +++ b/include/utils/Vector.h @@ -207,10 +207,6 @@ protected: virtual void do_move_backward(void* dest, const void* from, size_t num) const; }; -// Vector can be trivially moved using memcpy() because moving does not -// require any change to the underlying SharedBuffer contents or reference count. -template struct trait_trivial_move > { enum { value = true }; }; - // --------------------------------------------------------------------------- // No user serviceable parts from here... // ---------------------------------------------------------------------------