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

Unified Diff: net/base/file_stream_context.h

Issue 1407443002: Remove old C++03 move emulation code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: std::move and reflow 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 | « dbus/file_descriptor.cc ('k') | net/base/file_stream_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_context.h
diff --git a/net/base/file_stream_context.h b/net/base/file_stream_context.h
index c1846c460d354a58b98d45b3d8694d5edf7f8651..a42634d158a5deacff19740bb9123d2f3c5ac4c2 100644
--- a/net/base/file_stream_context.h
+++ b/net/base/file_stream_context.h
@@ -110,13 +110,12 @@ class FileStream::Context {
};
struct OpenResult {
- MOVE_ONLY_TYPE_FOR_CPP_03(OpenResult, RValue)
+ MOVE_ONLY_TYPE_FOR_CPP_03(OpenResult)
public:
OpenResult();
OpenResult(base::File file, IOResult error_code);
- // C++03 move emulation of this type.
- OpenResult(RValue other);
- OpenResult& operator=(RValue other);
+ OpenResult(OpenResult&& other);
+ OpenResult& operator=(OpenResult&& other);
base::File file;
IOResult error_code;
« no previous file with comments | « dbus/file_descriptor.cc ('k') | net/base/file_stream_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698