- Updated DOM to use Variant ovjects, which carry a type which improves
  expression evaluation.
This commit is contained in:
Paul Beckingham
2014-06-11 21:53:00 -04:00
parent e8474fc145
commit 456b982ced
5 changed files with 76 additions and 73 deletions

View File

@@ -44,10 +44,8 @@ Task& contextTask = dummy;
////////////////////////////////////////////////////////////////////////////////
bool domSource (const std::string& identifier, Variant& value)
{
std::string result;
if (context.dom.get (identifier, contextTask, result))
if (context.dom.get (identifier, contextTask, value))
{
value = Variant (result);
value.source (identifier);
return true;
}