Remove some unused code in Boxed_Value

This commit is contained in:
Jason Turner
2016-04-16 22:14:02 -06:00
parent 7d5a97aa2f
commit c68488388e
3 changed files with 12 additions and 183 deletions

View File

@@ -376,7 +376,6 @@ namespace chaiscript
typedef std::vector<Scope> StackData;
Stack_Holder()
: call_depth(0)
{
stacks.reserve(2);
stacks.emplace_back(1);
@@ -387,7 +386,7 @@ namespace chaiscript
std::vector<StackData> stacks;
std::vector<std::vector<Boxed_Value>> call_params;
int call_depth;
int call_depth = 0;
};
/// Main class for the dispatchkit. Handles management
@@ -1328,10 +1327,6 @@ namespace chaiscript
if (rt.bare_equal(boxed_type))
{
if (lt.bare_equal(boxed_pod_type))
{
return true;
}
return true;
}