diff options
author | 2016-02-09 09:14:28 -0800 | |
---|---|---|
committer | 2016-02-09 09:14:28 -0800 | |
commit | 918090c819109585f8fd2295039385a60eb0b572 (patch) | |
tree | b5c7411d60dbdb0bdc803707454818e9e3d96634 /gyp | |
parent | eb00475d2335d4e2679d0ee12dd4741edcba7061 (diff) |
SkTArray to move when moving.
This updates SkTArray to move elements when possible, instead of always
copying them.
TBR=reed
Agreed moving is good. This should also become private.
Committed: https://skia.googlesource.com/skia/+/3c69348e725131150e4ab962dec1b3ff1148a6bd
Review URL: https://codereview.chromium.org/1672063002
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/common_conditions.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 163f1b4e4e..85f3e20376 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -178,6 +178,8 @@ 'WarnAsError': 'true', 'AdditionalOptions': [ '/we4189', # initialized but unused var warning + '/we4238', # taking address of rvalue + '/we4239', # assigning rvalues to non-const lvalues ], }, }, |