]> git.ipfire.org Git - thirdparty/gcc.git/commit
multiway_merge.h: Destruct only elements that were have been constructed before.
authorJohannes Singler <singler@ira.uka.de>
Wed, 28 Nov 2007 17:38:49 +0000 (17:38 +0000)
committerJohannes Singler <singler@gcc.gnu.org>
Wed, 28 Nov 2007 17:38:49 +0000 (17:38 +0000)
commit1661473b7f96b42c272b8bf8945ece6b60a2d5b2
treecb23e3e43eb7495f3a7ea038e5fdb64ef33ea416
parent87300e8c8102f83f8770da9a1d8758970bf28949
multiway_merge.h: Destruct only elements that were have been constructed before.

2007-11-28  Johannes Singler  <singler@ira.uka.de>

        * include/parallel/multiway_merge.h: Destruct only elements that
        were have been constructed before. Code beautifying and formatting.
        * include/parallel/losertree.h: (Copy) construct all loser tree
        item keys, so they can be deconstructed all at once.
        * include/parallel/quicksort.h: Fix memory leak.
        * include/parallel/random_shuffle.h: Use copy constructor instead
        of assignment. Code beautifying and formatting.
        * include/parallel/unique_copy.h: Use assignment instead of copy
        constructor.
        * include/parallel/multiway_mergesort.h: Use copy constructor
        instead of assignment. Code beautifying and formatting.
        * include/parallel/random_shuffle.h: Use copy constructor instead
        of assignment. Code beautifying.

From-SVN: r130490
libstdc++-v3/ChangeLog
libstdc++-v3/include/parallel/losertree.h
libstdc++-v3/include/parallel/multiway_merge.h
libstdc++-v3/include/parallel/multiway_mergesort.h
libstdc++-v3/include/parallel/partial_sum.h
libstdc++-v3/include/parallel/quicksort.h
libstdc++-v3/include/parallel/random_shuffle.h
libstdc++-v3/include/parallel/unique_copy.h