]> cloud.milkyroute.net Git - dolphin.git/commit
Use std::rotate, rather than reversing three times
authorFrank Reininghaus <frank78ac@googlemail.com>
Tue, 15 Jan 2013 17:44:00 +0000 (18:44 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Tue, 15 Jan 2013 17:44:42 +0000 (18:44 +0100)
commitc652807a195d82e85df7b3aafc924a5f83ca590e
tree704c7f82592bf24525bf1d2e034002bfdd54ee48
parentcad45e41509794774e4201f33c1fb6193422f85a
Use std::rotate, rather than reversing three times

We need less code now, and moreover, the STL implementation of rotate
should be more efficient than three reverse() calls.
src/kitemviews/private/kfileitemmodelsortalgorithm.cpp
src/kitemviews/private/kfileitemmodelsortalgorithm.h