зеркало из https://github.com/microsoft/STL.git
Change return type from non-const to const (#324)
Addresses #268 by changing the implementation to match the current Standardese.
This commit is contained in:
Родитель
1d39dfac99
Коммит
20adb42ae3
|
@ -354,7 +354,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
locale& operator=(const locale& _Right) noexcept {
|
||||
const locale& operator=(const locale& _Right) noexcept {
|
||||
if (_Ptr != _Right._Ptr) { // different implementation, point at new one
|
||||
delete _Ptr->_Decref();
|
||||
_Ptr = _Right._Ptr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче