diff options
Diffstat (limited to 'ACE/tests/UUID_Test.cpp')
-rw-r--r-- | ACE/tests/UUID_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/tests/UUID_Test.cpp b/ACE/tests/UUID_Test.cpp index 7585d6b173e..972464ed2ce 100644 --- a/ACE/tests/UUID_Test.cpp +++ b/ACE/tests/UUID_Test.cpp @@ -17,16 +17,16 @@ class Tester { public: - int test (void); + int test (); }; int -Tester::test (void) +Tester::test () { int retval = 0; // Generate UUID - auto_ptr <ACE_Utils::UUID> uuid (ACE_Utils::UUID_GENERATOR::instance ()->generate_UUID ()); + std::unique_ptr <ACE_Utils::UUID> uuid (ACE_Utils::UUID_GENERATOR::instance ()->generate_UUID ()); ACE_CString uuid_str (uuid->to_string ()->c_str ()); ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Generated UUID\n %C\n"), @@ -107,7 +107,7 @@ Tester::test (void) -1); // Generate UUID with process and thread ids. - auto_ptr <ACE_Utils::UUID> + std::unique_ptr <ACE_Utils::UUID> uuid_with_tp_id (ACE_Utils::UUID_GENERATOR::instance ()->generate_UUID (0x0001, 0xc0)); ACE_DEBUG ((LM_DEBUG, |