Minor performance enhancement for caching function and cleanup of minor windows warning in same function.

This commit is contained in:
Jason Turner
2009-09-09 13:17:20 +00:00
parent e2cdac0406
commit daee00da95

View File

@@ -49,7 +49,7 @@ namespace chaiscript
}
template <typename Eval_System>
void cache_const(Eval_System &ss, const TokenPtr &node, Boxed_Value value) {
void cache_const(Eval_System &/*ss*/, const TokenPtr &node, const Boxed_Value &value) {
node->cached_value = value;
node->is_cached = true;
}