Work around more -Wshadow warnings
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@288573 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -41,7 +41,7 @@ private:
|
||||
class ThrowOnCopy {
|
||||
public:
|
||||
ThrowOnCopy() : should_throw(false) {}
|
||||
explicit ThrowOnCopy(bool should_throw) : should_throw(should_throw) {}
|
||||
explicit ThrowOnCopy(bool xshould_throw) : should_throw(xshould_throw) {}
|
||||
|
||||
ThrowOnCopy(ThrowOnCopy const & other)
|
||||
: should_throw(other.should_throw)
|
||||
|
||||
Reference in New Issue
Block a user