From 0a2c565aa98fa7bc9623a753370e565fc5ed1e63 Mon Sep 17 00:00:00 2001 From: Christopher Bergqvist Date: Thu, 11 Jun 2020 18:02:28 +0200 Subject: Switch from auto_ptr to unique_ptr (#638) --- src/Core/Unix/CoreService.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Core/Unix/CoreService.h') diff --git a/src/Core/Unix/CoreService.h b/src/Core/Unix/CoreService.h index e25b856a..dfb8b350 100644 --- a/src/Core/Unix/CoreService.h +++ b/src/Core/Unix/CoreService.h @@ -39,17 +39,17 @@ namespace VeraCrypt static void Stop (); protected: - template static auto_ptr GetResponse (); - template static auto_ptr SendRequest (CoreServiceRequest &request); + template static unique_ptr GetResponse (); + template static unique_ptr SendRequest (CoreServiceRequest &request); static void StartElevated (const CoreServiceRequest &request); static shared_ptr AdminPasswordCallback; - static auto_ptr AdminInputPipe; - static auto_ptr AdminOutputPipe; + static unique_ptr AdminInputPipe; + static unique_ptr AdminOutputPipe; - static auto_ptr InputPipe; - static auto_ptr OutputPipe; + static unique_ptr InputPipe; + static unique_ptr OutputPipe; static shared_ptr ServiceInputStream; static shared_ptr ServiceOutputStream; -- cgit v1.2.3