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

Unified Diff: maps.cc

Issue 10824229: Add out-of-line copy ctor to Maps::Iterator. (Closed) Base URL: http://seccompsandbox.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 4 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 | « maps.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: maps.cc
===================================================================
--- maps.cc (revision 186)
+++ maps.cc (working copy)
@@ -112,6 +112,13 @@
at_end_(at_end) {
}
+Maps::Iterator::Iterator(const Iterator& other)
+ : iter_(other.iter_),
+ maps_(other.maps_),
+ at_beginning_(other.at_beginning_),
+ at_end_(other.at_end_) {
+}
+
Maps::LibraryMap::iterator& Maps::Iterator::getIterator() const {
if (at_beginning_) {
iter_ = maps_->libs_.begin();
« no previous file with comments | « maps.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698