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

Unified Diff: base/values.cc

Issue 2769283002: Enable noexcept on Windows, use for a few move constructors. (Closed)
Patch Set: Landmine Created 3 years, 9 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 | « base/values.h ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.cc
diff --git a/base/values.cc b/base/values.cc
index fef999c43b537619d9e5ccc0c1ec966e5e52ae79..7ae3b630346cc30b797dd4c7e40b6a2a61afb5f8 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -91,7 +91,7 @@ Value::Value(const Value& that) {
InternalCopyConstructFrom(that);
}
-Value::Value(Value&& that) {
+Value::Value(Value&& that) noexcept {
InternalMoveConstructFrom(std::move(that));
}
« no previous file with comments | « base/values.h ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698