C++11 cleanups

This commit is contained in:
Jason Turner
2011-09-26 07:14:24 -06:00
parent db0e342a96
commit 488f2ea393
3 changed files with 16 additions and 24 deletions

View File

@@ -111,9 +111,7 @@ namespace chaiscript
virtual std::vector<Const_Proxy_Function> get_contained_functions() const
{
std::vector<Const_Proxy_Function> fs;
fs.push_back(m_func);
return fs;
return {m_func};
}