Move when swapping, if possible.
authorbungeman <bungeman@google.com>
Wed, 26 Oct 2016 19:11:28 +0000 (12:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Oct 2016 19:11:28 +0000 (12:11 -0700)
commit6f4293af6906721f09a12818ff3adc767badb3c7
tree5f20f97f3ec6d9fee47584da76347392f4151591
parenta5fb6157e5908c1db9a1e55785dec20dde3eaf69
Move when swapping, if possible.

This change was avoided in the past because vc++ 2013 (12.0)
did not properly create default move constructors and
move assignment operators.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2454763002

TBR=reed
Verbal lgtm

Review-Url: https://codereview.chromium.org/2454763002
include/core/SkTypes.h
src/core/SkTSort.h