DOM
- Updated DOM to use Variant ovjects, which carry a type which improves expression evaluation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user