diff options
Diffstat (limited to 'Carpet/CarpetLib/src/defs.hh')
-rw-r--r-- | Carpet/CarpetLib/src/defs.hh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh index e2c6325af..7968300a2 100644 --- a/Carpet/CarpetLib/src/defs.hh +++ b/Carpet/CarpetLib/src/defs.hh @@ -278,19 +278,6 @@ namespace std { -// Container equality -template <typename T> -bool equals (vector<T> const& v, vector<T> const& w) -{ - if (v.size() != w.size()) return false; - for (size_t i=0; i<v.size(); ++i) { - if (v.AT(i) != w.AT(i)) return false; - } - return true; -} - - - // Container memory usage inline size_t memoryof (char const & e) { return sizeof e; } inline size_t memoryof (short const & e) { return sizeof e; } |