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

Unified Diff: Source/wtf/Vector.h

Issue 23903041: Make the Vector copy constructor for mismatched inline sizes explicit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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
Index: Source/wtf/Vector.h
diff --git a/Source/wtf/Vector.h b/Source/wtf/Vector.h
index a49fb68864c175df5ee972dd0b8fdea8f42aedf8..92166c4ef538f288fcf53dc087527b90b519149e 100644
--- a/Source/wtf/Vector.h
+++ b/Source/wtf/Vector.h
@@ -503,7 +503,7 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
Vector(const Vector&);
template<size_t otherCapacity>
- Vector(const Vector<T, otherCapacity>&);
+ explicit Vector(const Vector<T, otherCapacity>&);
Vector& operator=(const Vector&);
template<size_t otherCapacity>
« Source/modules/indexeddb/IDBObjectStore.cpp ('K') | « Source/modules/indexeddb/IDBObjectStore.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698