diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-29 17:03:34 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-29 19:57:43 +0200 |
commit | 06700cb2f48b8da62b56d5cce4deb50cac029e6a (patch) | |
tree | a67657006284f09d8bac88f3e7594c6a3fec8553 /libs/pbd/pbd/xml++.h | |
parent | 5ed764178a7ff43d30ced21ffa8d5f36c64074c8 (diff) |
Allow to construct a XML tree from a text buffer
Diffstat (limited to 'libs/pbd/pbd/xml++.h')
-rw-r--r-- | libs/pbd/pbd/xml++.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pbd/xml++.h b/libs/pbd/pbd/xml++.h index 8e348a4483..9064bc1854 100644 --- a/libs/pbd/pbd/xml++.h +++ b/libs/pbd/pbd/xml++.h @@ -70,7 +70,7 @@ public: bool read(const std::string& fn) { set_filename(fn); return read_internal(false); } bool read_and_validate() { return read_internal(true); } bool read_and_validate(const std::string& fn) { set_filename(fn); return read_internal(true); } - bool read_buffer(const std::string&); + bool read_buffer(const std::string&, bool to_tree_doc = false); bool write() const; bool write(const std::string& fn) { set_filename(fn); return write(); } |