Sweep out Wshadow

Most of the changes are completely pointless renaming of constructor
arguments so that they do not use the same name as the type members,
but 🤷

Closes #2015
This commit is contained in:
Martin Hořeňovský
2020-09-06 13:10:43 +02:00
parent 90aeffb97d
commit cc18bd719d
12 changed files with 32 additions and 31 deletions

View File

@@ -68,7 +68,7 @@ TEST_CASE("unique_ptr reimplementation: basic functionality", "[internals][uniqu
namespace {
struct base {
int i;
base(int i) :i(i) {}
base(int i_) :i(i_) {}
};
struct derived : base { using base::base; };
struct unrelated {};