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:
Krystyna Lopez 2019-12-04 23:17:48 -05:00 коммит произвёл Stephan T. Lavavej
Родитель 1d39dfac99
Коммит 20adb42ae3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;