summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2006-09-02 14:16:05 +0000
committerJohannes Winkelmann <jw@smts.ch>2006-09-02 14:16:05 +0000
commit8994a63970150187541168124474a79eca444ee3 (patch)
tree290a00faaa973b523df477ff0de85bacd7089895
parent1e7028f07979186a6fe003770b34b00b1016d4c8 (diff)
downloadprt-get-8994a63970150187541168124474a79eca444ee3.tar.gz
prt-get-8994a63970150187541168124474a79eca444ee3.tar.xz
prt-get remove trailing whitespace from versioncomparator.cpp
git-svn-id: https://crux.nu/svn/tools/prt-get/trunk@1803 0b5ae1c7-2405-0410-a7fc-ba219f786e1e
-rw-r--r--src/versioncomparator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/versioncomparator.cpp b/src/versioncomparator.cpp
index 351eec9..f9cfdd9 100644
--- a/src/versioncomparator.cpp
+++ b/src/versioncomparator.cpp
@@ -88,11 +88,11 @@ COMP_RESULT compareVersions(const string& v1, const string& v2)
} else {
// smart guessing...
// leaving out 'test', 'pre' and 'rc'
- static const string versions =
+ static const string versions =
"alpha beta gamma delta";
- string::size_type pos1 =
+ string::size_type pos1 =
versions.find(subtokens1[k]);
- string::size_type pos2 =
+ string::size_type pos2 =
versions.find(subtokens2[k]);
if (pos1 != string::npos && pos2 != string::npos) {
if (pos1 < pos2) {

Generated by cgit