From 8994a63970150187541168124474a79eca444ee3 Mon Sep 17 00:00:00 2001 From: Johannes Winkelmann Date: Sat, 2 Sep 2006 14:16:05 +0000 Subject: [PATCH] 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 --- src/versioncomparator.cpp | 6 +++--- 1 file 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) {