Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: tools/cygprofile/cygprofile.h

Issue 2459763003: Remove stl_util's deletion function use from tools/. (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/cygprofile/cygprofile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cygprofile/cygprofile.h
diff --git a/tools/cygprofile/cygprofile.h b/tools/cygprofile/cygprofile.h
index 439f1e52cbc8ab24130c8d65661601c86d748b41..7b25acc644b4e7a10791dce6e1faae7938850dfa 100644
--- a/tools/cygprofile/cygprofile.h
+++ b/tools/cygprofile/cygprofile.h
@@ -156,7 +156,7 @@ class ThreadLogsManager {
// Protects the state below.
base::Lock lock_;
std::unique_ptr<Thread> flush_thread_;
- std::vector<ThreadLog*> logs_;
+ std::vector<std::unique_ptr<ThreadLog>> logs_;
DISALLOW_COPY_AND_ASSIGN(ThreadLogsManager);
};
« no previous file with comments | « no previous file | tools/cygprofile/cygprofile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698