various fixes

fixed compiler warnings
fixed bad overridings
fixed FreeBSD support
This commit is contained in:
Jinhao
2018-05-22 14:22:58 +08:00
parent 26ce77ded5
commit 216cb786e7
7 changed files with 14 additions and 9 deletions

View File

@@ -2583,8 +2583,9 @@ namespace nana
: public division
{
public:
div_switchable(std::string && name, implement* impl) noexcept
: division(kind::switchable, std::move(name)), impl_(impl)
div_switchable(std::string && name, implement* /*impl*/) noexcept:
division(kind::switchable, std::move(name))//,
//impl_(impl) //deprecated
{}
private:
void collocate(window wd) override
@@ -2613,7 +2614,7 @@ namespace nana
}
}
private:
implement * const impl_;
//implement * const impl_; //deprecated
};
place::implement::~implement()