Fix Shadowing warning on Windows
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@343439 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,8 +35,8 @@ public:
|
||||
: __locale(nullptr), __locale_str(nullptr) {}
|
||||
locale_t(std::nullptr_t)
|
||||
: __locale(nullptr), __locale_str(nullptr) {}
|
||||
locale_t(_locale_t __locale, const char* __locale_str)
|
||||
: __locale(__locale), __locale_str(__locale_str) {}
|
||||
locale_t(_locale_t __xlocale, const char* __xlocale_str)
|
||||
: __locale(__xlocale), __locale_str(__xlocale_str) {}
|
||||
|
||||
friend bool operator==(const locale_t& __left, const locale_t& __right) {
|
||||
return __left.__locale == __right.__locale;
|
||||
|
||||
Reference in New Issue
Block a user