add noexcept to some functions

This commit is contained in:
Jinhao
2016-11-20 12:04:30 +08:00
parent a6ccc81623
commit 4327ec49a7
3 changed files with 9 additions and 9 deletions

View File

@@ -649,12 +649,12 @@ namespace nana
return *this;
}
int rectangle::right() const
int rectangle::right() const noexcept
{
return x + static_cast<int>(width);
}
int rectangle::bottom() const
int rectangle::bottom() const noexcept
{
return y + static_cast<int>(height);
}