[llvm] r231095 - Avoid explicitly declaring the copy assignment operator, as this unnecessarily makes the copy ctor deprecated in C++11

David Blaikie dblaikie at gmail.com
Tue Mar 3 10:29:27 PST 2015


Author: dblaikie
Date: Tue Mar  3 12:29:27 2015
New Revision: 231095

URL: http://llvm.org/viewvc/llvm-project?rev=231095&view=rev
Log:
Avoid explicitly declaring the copy assignment operator, as this unnecessarily makes the copy ctor deprecated in C++11

Modified:
    llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h

Modified: llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h?rev=231095&r1=231094&r2=231095&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h (original)
+++ llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h Tue Mar  3 12:29:27 2015
@@ -100,9 +100,6 @@ class ValueArray2 {
   }
 
  private:
-  // No implementation - assignment is unsupported.
-  void operator=(const ValueArray2& other);
-
   const T1 v1_;
   const T2 v2_;
 };





More information about the llvm-commits mailing list