mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis
This commit is contained in:
parent
27a5c06f04
commit
38a2de3c51
75 changed files with 125 additions and 131 deletions
|
@ -294,7 +294,7 @@ namespace Compiler
|
|||
{
|
||||
// workaround for broken positioncell instructions.
|
||||
/// \todo add option to disable this
|
||||
std::auto_ptr<ErrorDowngrade> errorDowngrade (0);
|
||||
std::unique_ptr<ErrorDowngrade> errorDowngrade (nullptr);
|
||||
if (Misc::StringUtils::lowerCase (loc.mLiteral)=="positioncell")
|
||||
errorDowngrade.reset (new ErrorDowngrade (getErrorHandler()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue