[niepce: 7/12] fwk: Fix container iterators following merge from master.



commit 2f6f2bb2b50b3bc1cc02dd95c7e47a0a2226e570
Author: Hubert Figuière <hub figuiere net>
Date:   Fri Oct 16 00:00:51 2015 -0400

    fwk: Fix container iterators following merge from master.

 src/fwk/utils/files.hpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/fwk/utils/files.hpp b/src/fwk/utils/files.hpp
index b8c04eb..aa33469 100644
--- a/src/fwk/utils/files.hpp
+++ b/src/fwk/utils/files.hpp
@@ -57,6 +57,10 @@ namespace fwk {
                static Ptr getFilesFromDirectory(const value_type & dir,
                                                 std::function<bool (const Glib::RefPtr<Gio::FileInfo> &)> 
filter);
 
+               const_iterator begin() const
+                       { return _impltype_t::cbegin(); }
+               const_iterator end() const
+                       { return _impltype_t::cend(); }
                const_iterator cbegin() const
                        { return _impltype_t::cbegin(); }
                const_iterator cend() const


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]