summaryrefslogtreecommitdiff
path: root/indra/test/lldoubledispatch_tut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test/lldoubledispatch_tut.cpp')
-rw-r--r--indra/test/lldoubledispatch_tut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/test/lldoubledispatch_tut.cpp b/indra/test/lldoubledispatch_tut.cpp
index e38d0e92a3..ad8f6454d4 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::unique_ptr<GameObject> home;
- std::unique_ptr<GameObject> obstacle;
- std::unique_ptr<GameObject> tug;
- std::unique_ptr<GameObject> patrol;
+ std::auto_ptr<GameObject> home;
+ std::auto_ptr<GameObject> obstacle;
+ std::auto_ptr<GameObject> tug;
+ std::auto_ptr<GameObject> patrol;
// prototype objects
Asteroid dummyAsteroid;