diff --git a/src/Wt/Dbo/collection.h b/src/Wt/Dbo/collection.h index 9b3828053..2a45a8a59 100644 --- a/src/Wt/Dbo/collection.h +++ b/src/Wt/Dbo/collection.h @@ -136,6 +136,10 @@ namespace Wt { */ iterator(const iterator& other); + /*! \brief Default constructor. + */ + iterator(); + /*! \brief Destructor. */ ~iterator(); @@ -190,7 +194,6 @@ namespace Wt { private: shared_impl *impl_; - iterator(); iterator(const collection& collection, SqlStatement *statement); void takeImpl(); @@ -216,6 +219,10 @@ namespace Wt { */ const_iterator(const const_iterator& other); + /*! \brief Default constructor. + */ + const_iterator(); + /*! \brief Copy constructor. */ const_iterator(const typename collection::iterator& other); @@ -258,7 +265,6 @@ namespace Wt { private: typename collection::iterator impl_; - const_iterator(); const_iterator(const collection& collection, SqlStatement *statement); friend class collection;