mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
canvas: correct convention
add missing noexcept option. Change-Id: I14eacb0fdb2c9bd40e365bf81bb5cc0b73239ffe
This commit is contained in:
parent
c813de45ca
commit
5120a7ae12
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ public:
|
|||
Canvas(RenderMethod*);
|
||||
virtual ~Canvas();
|
||||
|
||||
int reserve(size_t n);
|
||||
int reserve(size_t n) noexcept;
|
||||
virtual int push(std::unique_ptr<PaintNode> paint) noexcept;
|
||||
virtual int clear() noexcept;
|
||||
virtual int update() noexcept;
|
||||
|
|
|
@ -120,7 +120,7 @@ Canvas::~Canvas()
|
|||
}
|
||||
|
||||
|
||||
int Canvas::reserve(size_t n)
|
||||
int Canvas::reserve(size_t n) noexcept
|
||||
{
|
||||
auto impl = pImpl.get();
|
||||
assert(impl);
|
||||
|
|
Loading…
Add table
Reference in a new issue