From 8c14cb84c5f4a38dc7873d6a254bcb8c33f8a603 Mon Sep 17 00:00:00 2001 From: open-license-manager <rillf@maildrop.cc> Date: 周一, 28 7月 2014 05:54:43 +0800 Subject: [PATCH] test volid --- src/library/LicenseReader.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/LicenseReader.cpp b/src/library/LicenseReader.cpp index 218c2a8..05762c4 100644 --- a/src/library/LicenseReader.cpp +++ b/src/library/LicenseReader.cpp @@ -149,9 +149,9 @@ FullLicenseInfo::UNUSED_TIME)); string client_signature = trim_copy( ini.GetValue(productNamePtr, "client_signature", "")); - client_signature.erase( + /*client_signature.erase( std::remove(client_signature.begin(), client_signature.end(), '-'), - client_signature.end()); + client_signature.end());*/ int from_sw_version = ini.GetLongValue(productNamePtr, "from_sw_version", FullLicenseInfo::UNUSED_SOFTWARE_VERSION); int to_sw_version = ini.GetLongValue(productNamePtr, -- Gitblit v1.9.1