diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2021-08-27 19:24:05 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2021-08-27 19:24:05 +0300 |
commit | 203ea3a70a775a09cbbffb1740ab7c58f1780baa (patch) | |
tree | 828b0ea2336944d7ab0cc78704ae364966ec98a1 /indra/test | |
parent | 8e3f0778863a5aa337d1148a243ea91d238a8ac5 (diff) | |
parent | 2e790e9b7250d5f79751fa5287c1993f3fa5c776 (diff) |
Merge branch 'c++17' into DRTVWR-522-maint
Diffstat (limited to 'indra/test')
-rw-r--r-- | indra/test/lldoubledispatch_tut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/test/lldoubledispatch_tut.cpp b/indra/test/lldoubledispatch_tut.cpp index ad8f6454d4..e38d0e92a3 100644 --- a/indra/test/lldoubledispatch_tut.cpp +++ b/indra/test/lldoubledispatch_tut.cpp @@ -135,10 +135,10 @@ namespace tut // Instantiate a few GameObjects. Make sure we refer to them // polymorphically, and don't let them leak. - std::auto_ptr<GameObject> home; - std::auto_ptr<GameObject> obstacle; - std::auto_ptr<GameObject> tug; - std::auto_ptr<GameObject> patrol; + std::unique_ptr<GameObject> home; + std::unique_ptr<GameObject> obstacle; + std::unique_ptr<GameObject> tug; + std::unique_ptr<GameObject> patrol; // prototype objects Asteroid dummyAsteroid; |