aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFTypes.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-08-08 07:21:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-08 07:21:42 -0700
commit9be372041ec331f1b04c99890f92d24c59bf9dad (patch)
tree6b60c1fb924483f633b59dfbc4b7673bafc803e4 /src/pdf/SkPDFTypes.h
parent5d2befe0062c7c8dfc8760d3b3c02846988e9a4e (diff)
std::move(SkTDArray)
Since we don't support MSVC2013 anymore, we can be more succinct when defining move constructors of compound types. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2227673002 Review-Url: https://codereview.chromium.org/2227673002
Diffstat (limited to 'src/pdf/SkPDFTypes.h')
-rw-r--r--src/pdf/SkPDFTypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h
index 52ce221725..cdfef6cb92 100644
--- a/src/pdf/SkPDFTypes.h
+++ b/src/pdf/SkPDFTypes.h
@@ -290,8 +290,8 @@ private:
SkPDFUnion fKey;
SkPDFUnion fValue;
Record(SkPDFUnion&&, SkPDFUnion&&);
- Record(Record&&);
- Record& operator=(Record&&);
+ Record(Record&&) = default;
+ Record& operator=(Record&&) = default;
Record(const Record&) = delete;
Record& operator=(const Record&) = delete;
};