From 004073a7b79dc9c455416703d30f4922b4577172 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周六, 16 5月 2020 23:18:22 +0800
Subject: [PATCH] tentative fix for test failing when in submodule

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