summaryrefslogtreecommitdiffstats
path: root/src/tools/qgvector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qgvector.cpp')
-rw-r--r--src/tools/qgvector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qgvector.cpp b/src/tools/qgvector.cpp
index 154d07d..c468896 100644
--- a/src/tools/qgvector.cpp
+++ b/src/tools/qgvector.cpp
@@ -388,8 +388,8 @@ void QGVector::sort() // sort vector
{
if ( count() == 0 ) // no elements
return;
- register Item *start = &vec[0];
- register Item *end = &vec[len-1];
+ Item *start = &vec[0];
+ Item *end = &vec[len-1];
Item tmp;
for (;;) { // put all zero elements behind
while ( start < end && *start != 0 )