1.1 --- a/src/lemon/bin_heap.h Fri Mar 04 15:24:07 2005 +0000
1.2 +++ b/src/lemon/bin_heap.h Fri Mar 04 17:08:55 2005 +0000
1.3 @@ -73,9 +73,10 @@
1.4
1.5 public:
1.6 ///\e
1.7 - BinHeap(ItemIntMap &_iim) : iim(_iim) {}
1.8 + explicit BinHeap(ItemIntMap &_iim) : iim(_iim) {}
1.9 ///\e
1.10 - BinHeap(ItemIntMap &_iim, const Compare &_comp) : comp(_comp), iim(_iim) {}
1.11 + explicit BinHeap(ItemIntMap &_iim, const Compare &_comp)
1.12 + : iim(_iim), comp(_comp) {}
1.13
1.14
1.15 ///\e
2.1 --- a/src/lemon/fib_heap.h Fri Mar 04 15:24:07 2005 +0000
2.2 +++ b/src/lemon/fib_heap.h Fri Mar 04 17:08:55 2005 +0000
2.3 @@ -88,7 +88,8 @@
2.4 POST_HEAP = -2
2.5 };
2.6
2.7 - FibHeap(ItemIntMap &_iimap) : minimum(0), iimap(_iimap), num_items() {}
2.8 + explicit FibHeap(ItemIntMap &_iimap)
2.9 + : minimum(0), iimap(_iimap), num_items() {}
2.10 FibHeap(ItemIntMap &_iimap, const Compare &_comp) : minimum(0),
2.11 iimap(_iimap), comp(_comp), num_items() {}
2.12