summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-10-29 17:03:34 +0200
committerRobin Gareus <robin@gareus.org>2016-10-29 19:57:43 +0200
commit06700cb2f48b8da62b56d5cce4deb50cac029e6a (patch)
treea67657006284f09d8bac88f3e7594c6a3fec8553 /libs/pbd/pbd
parent5ed764178a7ff43d30ced21ffa8d5f36c64074c8 (diff)
Allow to construct a XML tree from a text buffer
Diffstat (limited to 'libs/pbd/pbd')
-rw-r--r--libs/pbd/pbd/xml++.h2
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(); }