Fix Shadowing warning on Windows
authorEric Fiselier <eric@efcs.ca>
Mon, 1 Oct 2018 02:54:08 +0000 (02:54 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 1 Oct 2018 02:54:08 +0000 (02:54 +0000)
llvm-svn: 343439

libcxx/include/support/win32/locale_win32.h

index 68682c9..c7c6d78 100644 (file)
@@ -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;