diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 12:13:36 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 12:13:36 +0100 |
commit | e6440b46fd8fb6c5fd2346f735fe2f2c9eccb914 (patch) | |
tree | 18ce5f73caea0f177f4ae19220c64e5c0d3ab33b | |
parent | 0a45e7365877f011ddb17ef710171bf9d7665823 (diff) | |
download | ATCD-e6440b46fd8fb6c5fd2346f735fe2f2c9eccb914.tar.gz |
Use std::unique_ptr
* ACE/tests/UUID_Test.cpp:
-rw-r--r-- | ACE/tests/UUID_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/UUID_Test.cpp b/ACE/tests/UUID_Test.cpp index d8447548419..a94b9dc64f8 100644 --- a/ACE/tests/UUID_Test.cpp +++ b/ACE/tests/UUID_Test.cpp @@ -26,7 +26,7 @@ Tester::test (void) int retval = 0; // Generate UUID - unique_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. - unique_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, |