Commit c64f3c23 authored by Max Lyon's avatar Max Lyon
Browse files

remove one more auto

parent b0bedf17
......@@ -36,7 +36,7 @@ bool variable(const char* _vrbl_name, std::string& _vrbl)
LocaleSession::LocaleSession(const char* const _ssn_lcle)
{
lcl_bckp_ = std::locale::global(std::locale(_ssn_lcle));
auto* lcle = ::setlocale(LC_ALL, NULL);
char* lcle = ::setlocale(LC_ALL, NULL);
DEB_error_if(lcle == NULL,
"std::locale::global() failed to set " << _ssn_lcle);
DEB_error_if(lcle != NULL && strcmp(lcle, _ssn_lcle) != 0,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment