various c++11/c++14 cleanups

This commit is contained in:
Jason Turner
2016-03-12 07:05:29 -07:00
parent 34a2001a7b
commit c5f4a4dfd8
4 changed files with 32 additions and 48 deletions

View File

@@ -44,9 +44,7 @@ namespace chaiscript
{
}
Dynamic_Object() : m_type_name(""), m_option_explicit(false)
{
}
Dynamic_Object() = default;
bool is_explicit() const
{
@@ -114,8 +112,8 @@ namespace chaiscript
}
private:
std::string m_type_name;
bool m_option_explicit;
const std::string m_type_name = "";
bool m_option_explicit = false;
std::map<std::string, Boxed_Value> m_attrs;
};