skia2/experimental/svg/model/SkSVGDefs.h
Brian Salomon d007281c9a Fix clang 12 Wsuggest-override and Wsuggest-destructor-override
Change-Id: Ic44e24057b95bb014504f02a736fb4341afc8971
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/304856
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-07-22 01:11:36 +00:00

24 lines
528 B
C++

/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkSVGDefs_DEFINED
#define SkSVGDefs_DEFINED
#include "experimental/svg/model/SkSVGHiddenContainer.h"
class SkSVGDefs : public SkSVGHiddenContainer {
public:
static sk_sp<SkSVGDefs> Make() { return sk_sp<SkSVGDefs>(new SkSVGDefs()); }
private:
SkSVGDefs() : INHERITED(SkSVGTag::kDefs) {}
typedef SkSVGHiddenContainer INHERITED;
};
#endif // SkSVGDefs_DEFINED