- The domSource function is no longer static, and is prototyped in Filter.h
  for general use.
This commit is contained in:
Paul Beckingham
2014-05-25 16:55:49 -04:00
parent 5a0c07782e
commit 79ac26cb02
2 changed files with 6 additions and 2 deletions

View File

@@ -40,10 +40,10 @@ extern Context context;
////////////////////////////////////////////////////////////////////////////////
// Const iterator that can be derefenced into a Task by domSource.
static Task dummy;
static Task& contextTask = dummy;
Task& contextTask = dummy;
////////////////////////////////////////////////////////////////////////////////
static bool domSource (const std::string& identifier, Variant& value)
bool domSource (const std::string& identifier, Variant& value)
{
std::string stringValue = context.dom.get (identifier, contextTask);
if (stringValue != identifier)