1.1 --- a/lemon/iterable_maps.h Wed Jun 28 15:06:24 2006 +0000
1.2 +++ b/lemon/iterable_maps.h Wed Jun 28 15:28:38 2006 +0000
1.3 @@ -126,7 +126,7 @@
1.4 /// \brief Constructor of the Map with a default value.
1.5 ///
1.6 /// Constructor of the Map with a default value.
1.7 - IterableBoolMap(const Graph& _graph, bool def = false)
1.8 + explicit IterableBoolMap(const Graph& _graph, bool def = false)
1.9 : Parent(_graph), graph(_graph) {
1.10 for (KeyIt it(graph); it != INVALID; ++it) {
1.11 Parent::set(it, array.size());
1.12 @@ -203,7 +203,7 @@
1.13 /// Creates an iterator. It iterates on the
1.14 /// keys which mapped to true.
1.15 /// \param _map The IterableIntMap
1.16 - TrueIt(const IterableBoolMap& _map)
1.17 + explicit TrueIt(const IterableBoolMap& _map)
1.18 : Parent(_map.sep > 0 ? _map.array[_map.sep - 1] : INVALID),
1.19 map(&_map) {}
1.20
1.21 @@ -243,7 +243,7 @@
1.22 /// Creates an iterator. It iterates on the
1.23 /// keys which mapped to false.
1.24 /// \param _map The IterableIntMap
1.25 - FalseIt(const IterableBoolMap& _map)
1.26 + explicit FalseIt(const IterableBoolMap& _map)
1.27 : Parent(_map.sep < (int)_map.array.size() ?
1.28 _map.array.back() : INVALID), map(&_map) {}
1.29