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

Unified Diff: base/memory/scoped_ptr.h

Issue 1463463002: Temporarily re-add #include <algorithm> to scoped_ptr.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/scoped_ptr.h
diff --git a/base/memory/scoped_ptr.h b/base/memory/scoped_ptr.h
index 869bdfdbe92f6d8ab1f086c4b05afd9f1b7d207a..a475d4c8b284be57ed07b69cfe9721cd58a5a76d 100644
--- a/base/memory/scoped_ptr.h
+++ b/base/memory/scoped_ptr.h
@@ -84,6 +84,9 @@
#include <stddef.h>
#include <stdlib.h>
+// TODO(dcheng): Temporary, remove this #include since swap is defined in
+// <utility> in C++11.
+#include <algorithm>
#include <iosfwd>
#include <memory>
#include <utility>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698