numeric.h: Do not use default arguments in function template redeclarations (definiti...
authorJonathan Wakely <jwakely@redhat.com>
Tue, 4 Nov 2014 03:41:16 +0000 (03:41 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 4 Nov 2014 03:41:16 +0000 (03:41 +0000)
* include/parallel/numeric.h: Do not use default arguments in function
template redeclarations (definitions).

From-SVN: r217069

libstdc++-v3/ChangeLog
libstdc++-v3/include/parallel/numeric

index b7c5e64a97b2f48284e0314bdbbbface8050369d..8cb7675f6a5322ad03c15a9e2f03469b03172638 100644 (file)
@@ -20,6 +20,9 @@
        allocator instead of moving.
        * testsuite/23_containers/deque/allocator/move-2.cc: New.
 
+       * include/parallel/numeric.h: Do not use default arguments in function
+       template redeclarations (definitions).
+
 2014-11-03  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/parallel/algo.h: Do not use default arguments in function
index 825463502a64f031f30d0c3ea35210f990cc7359..e89f27efead6b28ff2aed892e6a56654d026da63 100644 (file)
@@ -85,8 +85,7 @@ namespace __parallel
     __accumulate_switch(__RAIter __begin, __RAIter __end, 
                       _Tp __init, _BinaryOperation __binary_op, 
                       random_access_iterator_tag, 
-                      __gnu_parallel::_Parallelism __parallelism_tag  
-                      = __gnu_parallel::parallel_unbalanced)
+                      __gnu_parallel::_Parallelism __parallelism_tag)
     {
       if (_GLIBCXX_PARALLEL_CONDITION(
             static_cast<__gnu_parallel::_SequenceIndex>(__end - __begin)
@@ -193,8 +192,7 @@ namespace __parallel
                           _BinaryFunction2 __binary_op2,
                           random_access_iterator_tag,
                           random_access_iterator_tag,
-                          __gnu_parallel::_Parallelism __parallelism_tag
-                          = __gnu_parallel::parallel_unbalanced)
+                          __gnu_parallel::_Parallelism __parallelism_tag)
     {
       if (_GLIBCXX_PARALLEL_CONDITION((__last1 - __first1)
                                       >= __gnu_parallel::_Settings::get().
@@ -419,8 +417,7 @@ namespace __parallel
                                 random_access_iterator_tag,
                                 random_access_iterator_tag,
                                 __gnu_parallel::_Parallelism
-                                __parallelism_tag
-                                = __gnu_parallel::parallel_balanced)
+                                __parallelism_tag)
     {
       if (_GLIBCXX_PARALLEL_CONDITION(
             static_cast<__gnu_parallel::_SequenceIndex>(__end - __begin)