]> git.lyx.org Git - lyx.git/blobdiff - src/BranchList.h
Partial fix bug 2092: branches not propagated to child documents
[lyx.git] / src / BranchList.h
index fc57d2478b16e506cd63fda85446f751431cef91..610e97fd48009296c2cb3789ca4cad883286ab79 100644 (file)
@@ -72,7 +72,9 @@ public:
        BranchList() : separator_("|") {}
 
        ///
-       bool empty() { return list.empty(); }
+       bool empty() const { return list.empty(); }
+       ///
+       void clear() { list.clear(); }
        ///
        const_iterator begin() const { return list.begin(); }
        const_iterator end() const { return list.end(); }