diff --git a/src/common/observable-list.hpp b/src/common/observable-list.hpp index ed7fec8d6..c672d2a1b 100644 --- a/src/common/observable-list.hpp +++ b/src/common/observable-list.hpp @@ -263,6 +263,19 @@ public: changed.emit(); } +public: + /* ===== Conversions ===== */ + + /** + * Returns a copy of this observable_list converted to an STL list + * object. + * @return Returns a copy of the STL list. + **/ + std::list to_list() const + { + return list; + } + public: /* ===== Signals ===== */