summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorThorsten Behrens <thb@documentfoundation.org>2014-04-15 21:31:00 +0200
committerThorsten Behrens <thb@documentfoundation.org>2014-04-15 21:57:56 +0200
commit3764cfbc69815e5e74a689a5aeb07b0668ee861f (patch)
tree25b2543eb980929faa72b6a1301c00284ed3e7d6 /include/o3tl
parent0ae0301d1cd6e690473f932411ca880c20f45e13 (diff)
Remove iota template function & last call site.
Nice function, but with just one place using it in 9 years best coded verbatim at the call site... Change-Id: Ib306cf2311a39299cb007441c7cb1b0d81e67bce
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/compat_functional.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/o3tl/compat_functional.hxx b/include/o3tl/compat_functional.hxx
index 00ae33cb23bb..0484060bedb8 100644
--- a/include/o3tl/compat_functional.hxx
+++ b/include/o3tl/compat_functional.hxx
@@ -136,14 +136,6 @@ inline binary_compose<F1, F2, F3> compose2(const F1& fnction1, const F2& fnction
return (binary_compose<F1, F2, F3>(fnction1, fnction2, fnction3));
}
-/// Algo that assigns val, val+1, ... to the given range
-template<typename FwdIter, typename ValueType>
-inline void iota(FwdIter first, FwdIter last, ValueType val)
-{
- while(first != last)
- *first++ = val++;
-}
-
} // namespace o3tl
#endif