Remove no-op dtor so that use of the implicit copy ctor/assignment operator are not...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 19:52:59 +0000 (19:52 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 19:52:59 +0000 (19:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231112 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ADT/HashingTest.cpp

index 34eb5a52eb8a0fa11f3748480cff088509581b15..b28561bd01155a6cf00c96e775ef2577b42ed539 100644 (file)
@@ -33,7 +33,6 @@ struct LargeTestInteger { uint64_t arr[8]; };
 struct NonPOD {
   uint64_t x, y;
   NonPOD(uint64_t x, uint64_t y) : x(x), y(y) {}
-  ~NonPOD() {}
   friend hash_code hash_value(const NonPOD &obj) {
     return hash_combine(obj.x, obj.y);
   }