diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 02:13:10 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 02:13:10 +0000 |
commit | 736e56a578416be375a9b88f5ed0e88d325b50e6 (patch) | |
tree | 96cf85e0a1870b0de6d826b086a3980480666c00 /base | |
parent | 5cb5ff33998335f9f3be415bfe211c16e76c49a9 (diff) | |
download | chromium_src-736e56a578416be375a9b88f5ed0e88d325b50e6.zip chromium_src-736e56a578416be375a9b88f5ed0e88d325b50e6.tar.gz chromium_src-736e56a578416be375a9b88f5ed0e88d325b50e6.tar.bz2 |
Coverity: Fix a pass-by-value.
CID_COUNT=1
CID=103292
BUG=none
TEST=none
R=groby
Review URL: https://chromiumcodereview.appspot.com/9380051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/move.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/move.h b/base/move.h index f9408f7..daead8d 100644 --- a/base/move.h +++ b/base/move.h @@ -18,7 +18,7 @@ // // * Passed as a function argument // * Used as the right-hand side of an assignment -// * Return from a function +// * Returned from a function // // Each class will still need to define their own "move constructor" and "move // operator=" to make this useful. Here's an example of the macro, the move @@ -122,7 +122,7 @@ // function parameter or field of a class, the binary will not link. // // This ensures that RValue can only exist as a temporary which is important -// to avoid accidental danging references. +// to avoid accidental dangling references. // // (3) allows us to get around instantiations because our user-defined // conversion can return a downcast of this pointer. |