add noexcept

This commit is contained in:
Jinhao
2017-06-18 10:10:30 +08:00
parent b5db21567f
commit 74dedb9506
2 changed files with 4 additions and 4 deletions

View File

@@ -720,7 +720,7 @@ namespace drawerbase {
editor->set_undo_queue_length(len);
}
std::size_t textbox::display_line_count() const
std::size_t textbox::display_line_count() const noexcept
{
internal_scope_guard lock;
auto editor = get_drawer_trigger().editor();
@@ -730,7 +730,7 @@ namespace drawerbase {
return 0;
}
std::size_t textbox::text_line_count() const
std::size_t textbox::text_line_count() const noexcept
{
internal_scope_guard lock;
auto editor = get_drawer_trigger().editor();