diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-30 23:58:41 +0900 |
commit | ce9614515fa863c4a66870f5288e417eceaf9106 (patch) | |
tree | 46822e581173d96db101d0c8521fa1730cd09602 /src/tools/qgvector.cpp | |
parent | cd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff) | |
download | tqt3-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz tqt3-ce9614515fa863c4a66870f5288e417eceaf9106.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
Diffstat (limited to 'src/tools/qgvector.cpp')
-rw-r--r-- | src/tools/qgvector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qgvector.cpp b/src/tools/qgvector.cpp index af896ab72..dba9657d8 100644 --- a/src/tools/qgvector.cpp +++ b/src/tools/qgvector.cpp @@ -388,8 +388,8 @@ void TQGVector::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 ) |