Added path.cc and tokenizer.h from win32 branch.
[ardour.git] / libs / pbd3 / pbd / xml++.h
index 2e89a701de7de42594a842ab234708db1e1708b5..afb896e1d537c57fdec265c21c703fa2c8e5684f 100644 (file)
@@ -47,7 +47,7 @@ public:
 
   bool initialized() const { return _initialized; };
   XMLNode *root() const { return _root; };
-  XMLNode *set_root(XMLNode *n) { return _root = n; };
+  XMLNode *set_root(XMLNode *n) { _initialized = true; return _root = n; };
 
   const string & filename() const { return _filename; };
   const string & set_filename(const string &fn) { return _filename = fn; };