Really fix SkVerticesPriv on MSVC 2017
Change-Id: Ifacd00d6cfff3edbac2781ec340f294d42ab2977 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/280816 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
7800453ed2
commit
7a3358c80b
@ -36,10 +36,11 @@ public:
|
||||
const SkColor* colors() const { return fVertices->fColors; }
|
||||
const uint16_t* indices() const { return fVertices->fIndices; }
|
||||
|
||||
private:
|
||||
explicit SkVerticesPriv(SkVertices* vertices) : fVertices(vertices) {}
|
||||
// Never called due to RVO in priv(), but must exist for MSVC 2017.
|
||||
SkVerticesPriv(const SkVerticesPriv&) = default;
|
||||
|
||||
private:
|
||||
explicit SkVerticesPriv(SkVertices* vertices) : fVertices(vertices) {}
|
||||
SkVerticesPriv& operator=(const SkVerticesPriv&) = delete;
|
||||
|
||||
// No taking addresses of this type
|
||||
|
Loading…
Reference in New Issue
Block a user