OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2010-03-23 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
include
/
bits
/
stl_algo.h
diff --git
a/libstdc++-v3/include/bits/stl_algo.h
b/libstdc++-v3/include/bits/stl_algo.h
index
fe2edb9
..
5b4991e
100644
(file)
--- a/
libstdc++-v3/include/bits/stl_algo.h
+++ b/
libstdc++-v3/include/bits/stl_algo.h
@@
-4844,8
+4844,7
@@
_GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_P)
// "the type returned by a _Generator"
__typeof__(__gen())>)
- for (__decltype(__n + 0) __niter = __n;
- __niter > 0; --__niter, ++__first)
+ for (; __n > 0; --__n, ++__first)
*__first = __gen();
return __first;
}