doxy comments, void form::div(std::string div_text);

This commit is contained in:
qPCR4vir
2019-12-06 01:27:58 +01:00
parent 0345d503ba
commit f88224766d
3 changed files with 23 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ namespace nana
place & form_base::get_place()
{
if (this->empty())
throw std::runtime_error("form::get_plac: the form has destroyed.");
throw std::runtime_error("form::get_place(): the form has been destroyed.");
if (!place_)
place_.reset(new place{ *this });
@@ -47,9 +47,9 @@ namespace nana
return *place_;
}
void form_base::div(const char* div_text)
void form_base::div(std::string div_text)
{
get_place().div(div_text);
get_place().div(std::move(div_text));
}
place::field_reference form_base::operator[](const char* field_name)