summaryrefslogtreecommitdiffstats
path: root/rlz/win/lib/process_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'rlz/win/lib/process_info.cc')
-rw-r--r--rlz/win/lib/process_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rlz/win/lib/process_info.cc b/rlz/win/lib/process_info.cc
index 13612c7..9c3c516 100644
--- a/rlz/win/lib/process_info.cc
+++ b/rlz/win/lib/process_info.cc
@@ -40,7 +40,7 @@ HRESULT GetCurrentUser(std::wstring* name,
// (Following call will fail with ERROR_INSUFFICIENT_BUFFER and give us the
// required size.)
- scoped_array<char> token_user_bytes;
+ scoped_ptr<char[]> token_user_bytes;
DWORD token_user_size;
DWORD token_user_size2;
BOOL result = ::GetTokenInformation(token, TokenUser, NULL, 0,