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

Unified Diff: courgette/memory_allocator.h

Issue 2454673002: Add missing return statement to CheckReturnValue's copy assignment operator. (Closed)
Patch Set: sync to position 433806 Created 4 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: courgette/memory_allocator.h
diff --git a/courgette/memory_allocator.h b/courgette/memory_allocator.h
index e1d8573df8effa0baba605b2129224e99286fcd6..3f5143252102f973d0e61cfc4f6b1d1e37b8bb6f 100644
--- a/courgette/memory_allocator.h
+++ b/courgette/memory_allocator.h
@@ -36,6 +36,7 @@ class CheckReturnValue {
checked_ = other.checked_;
other.checked_ = true;
}
+ return *this;
}
~CheckReturnValue() {
« 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