mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +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*);
|
Canvas(RenderMethod*);
|
||||||
virtual ~Canvas();
|
virtual ~Canvas();
|
||||||
|
|
||||||
int reserve(size_t n);
|
int reserve(size_t n) noexcept;
|
||||||
virtual int push(std::unique_ptr<PaintNode> paint) noexcept;
|
virtual int push(std::unique_ptr<PaintNode> paint) noexcept;
|
||||||
virtual int clear() noexcept;
|
virtual int clear() noexcept;
|
||||||
virtual int update() 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();
|
auto impl = pImpl.get();
|
||||||
assert(impl);
|
assert(impl);
|
||||||
|
|
Loading…
Add table
Reference in a new issue