X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBranchList.h;h=534fb87f32c30b210da582591d0302d4d2c9dd37;hb=294e4884ee29585d311177406cd31499e6d81877;hp=1438f8275a5203be8ed89d3f7b5fb96eb7442f4e;hpb=9d1f1e285cd9d4bf99d6745f24448cce37766290;p=lyx.git diff --git a/src/BranchList.h b/src/BranchList.h index 1438f8275a..534fb87f32 100644 --- a/src/BranchList.h +++ b/src/BranchList.h @@ -94,12 +94,15 @@ public: BranchList() : separator_(from_ascii("|")) {} /// - bool empty() const { return list.empty(); } + docstring separator() const { return separator_; } + + /// + bool empty() const { return list_.empty(); } /// - void clear() { list.clear(); } + void clear() { list_.clear(); } /// - const_iterator begin() const { return list.begin(); } - const_iterator end() const { return list.end(); } + const_iterator begin() const { return list_.begin(); } + const_iterator end() const { return list_.end(); } /** \returns the Branch with \c name. If not found, returns 0. */ @@ -125,7 +128,7 @@ public: private: /// - List list; + List list_; /// docstring separator_; };