aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-13 17:43:24 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-13 17:43:24 +0000
commit463f56aa30492fb2723fb91be70bf9d3d17c36fb (patch)
treed6f7ba643530e99206a0eff01cf3d9d1133e8330
parenta9ed255e689160dd14e5665bfa301fc57b097682 (diff)
downloadpaludis-463f56aa30492fb2723fb91be70bf9d3d17c36fb.tar.gz
paludis-463f56aa30492fb2723fb91be70bf9d3d17c36fb.tar.xz
Abuse default parameters to call the default constructor for our functor, where appropriate
-rw-r--r--paludis/transform_insert_iterator.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/transform_insert_iterator.hh b/paludis/transform_insert_iterator.hh
index fd5f273..7488da8 100644
--- a/paludis/transform_insert_iterator.hh
+++ b/paludis/transform_insert_iterator.hh
@@ -53,7 +53,7 @@ namespace paludis
/**
* Constructor, from an iterator.
*/
- TransformInsertIterator(const Iter_ & i, const Trans_ & t) :
+ TransformInsertIterator(const Iter_ & i, const Trans_ & t = Trans_()) :
_i(i),
_t(t)
{