From aa42899939da995f054859a6b36088945582b23a Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 10 5月 2020 15:30:13 +0800 Subject: [PATCH] fix #95 (tentative) --- src/library/LicenseReader.cpp | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/library/LicenseReader.cpp b/src/library/LicenseReader.cpp index 0448243..47f006e 100644 --- a/src/library/LicenseReader.cpp +++ b/src/library/LicenseReader.cpp @@ -22,13 +22,11 @@ #include <stdlib.h> #include <math.h> -#include <public_key.h> -#include <licensecc_properties.h> #include <licensecc/licensecc.h> #include "base/base.h" #include "LicenseReader.hpp" -#include "base/StringUtils.h" +#include "base/string_utils.h" #include "base/logger.h" #include "locate/LocatorFactory.hpp" @@ -114,7 +112,7 @@ ostringstream oss; oss << toupper_copy(trim_copy(m_project)); for (auto &it : m_limits) { - if (it.first != LICENSE_VERSION && it.first != LICENSE_SIGNATURE) { + if (it.first != LICENSE_SIGNATURE) { oss << trim_copy(it.first) << trim_copy(it.second); } } -- Gitblit v1.9.1