[llvm] r231108 - Remove explicit copy ctor in favor of the default so as not to disable/deprecate the implicit copy assignment operator
David Blaikie
dblaikie at gmail.com
Tue Mar 3 11:29:11 PST 2015
Author: dblaikie
Date: Tue Mar 3 13:29:11 2015
New Revision: 231108
URL: http://llvm.org/viewvc/llvm-project?rev=231108&view=rev
Log:
Remove explicit copy ctor in favor of the default so as not to disable/deprecate the implicit copy assignment operator
Modified:
llvm/trunk/unittests/ADT/SCCIteratorTest.cpp
Modified: llvm/trunk/unittests/ADT/SCCIteratorTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/SCCIteratorTest.cpp?rev=231108&r1=231107&r2=231108&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/SCCIteratorTest.cpp (original)
+++ llvm/trunk/unittests/ADT/SCCIteratorTest.cpp Tue Mar 3 13:29:11 2015
@@ -39,8 +39,6 @@ public:
NodeSubset() : Elements(0) {
assert(N <= sizeof(BitVector)*CHAR_BIT && "Graph too big!");
}
- /// NodeSubset - Copy constructor.
- NodeSubset(const NodeSubset &other) : Elements(other.Elements) {}
/// Comparison operators.
bool operator==(const NodeSubset &other) const {
More information about the llvm-commits
mailing list