diff options
Diffstat (limited to 'libstdc++/stl/stl_algo.h')
-rw-r--r-- | libstdc++/stl/stl_algo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++/stl/stl_algo.h b/libstdc++/stl/stl_algo.h index 57607ba5d49..e9beaee15f1 100644 --- a/libstdc++/stl/stl_algo.h +++ b/libstdc++/stl/stl_algo.h @@ -446,9 +446,9 @@ _ForwardIter2 swap_ranges(_ForwardIter1 __first1, _ForwardIter1 __last1, template <class _InputIter, class _OutputIter, class _UnaryOperation> _OutputIter transform(_InputIter __first, _InputIter __last, - _OutputIter __result, _UnaryOperation __opr) { + _OutputIter __result, _UnaryOperation __oper) { for ( ; __first != __last; ++__first, ++__result) - *__result = __opr(*__first); + *__result = __oper(*__first); return __result; } |