add noexcept
This commit is contained in:
parent
b5db21567f
commit
74dedb9506
@ -264,10 +264,10 @@ namespace nana
|
||||
* is line wrapped mode.
|
||||
* @return the number of lines that text are displayed in the screen.
|
||||
*/
|
||||
std::size_t display_line_count() const;
|
||||
std::size_t display_line_count() const noexcept;
|
||||
|
||||
/// Returns the number of text lines.
|
||||
std::size_t text_line_count() const;
|
||||
std::size_t text_line_count() const noexcept;
|
||||
protected:
|
||||
//Overrides widget's virtual functions
|
||||
native_string_type _m_caption() const throw() override;
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user