diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2021-05-07 20:32:04 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2021-05-07 20:32:04 -0400 |
commit | 26fb5d7af70f20c9a125575e1d93f7ff4bcd4f3c (patch) | |
tree | 2eefde15cd779dfb8398f774c63c2d5b1cbcdfc9 /indra/test | |
parent | ce65bc2f13409d75dbc6502c970030cc5ed2e5ad (diff) |
SL-15241: Tweak viewer sources to permit compiling on Mac with C++17.
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; |