From c1b8845a268e92d28d07a41024442ef3a35a02c9 Mon Sep 17 00:00:00 2001
From: Arnaud Botella <arnaud.botella@geode-solutions.com>
Date: 周一, 04 5月 2020 19:27:16 +0800
Subject: [PATCH] Install lccinspector with lccgen (#88)

---
 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