From 9afdac17dcc8956fd795797bfc5b6e1c09285342 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周日, 08 3月 2020 21:27:16 +0800
Subject: [PATCH] Issues #14 and #6

---
 src/library/locate/LocatorStrategy.cpp |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/library/locate/LocatorStrategy.cpp b/src/library/locate/LocatorStrategy.cpp
index e1319b2..04c722d 100644
--- a/src/library/locate/LocatorStrategy.cpp
+++ b/src/library/locate/LocatorStrategy.cpp
@@ -5,19 +5,18 @@
  *      Author: Gabriele Contini
  */
 
-#include <build_properties.h>
+#include <licensecc_properties.h>
 
-#include "../base/FileUtils.hpp"
 #include "LocatorStrategy.hpp"
+#include "../base/file_utils.hpp"
 
 namespace license {
 namespace locate {
 using namespace std;
 
-const string LocatorStrategy::retrieve_license_content(
-		const string &licenseLocation) const {
-	return get_file_contents(licenseLocation.c_str(), MAX_LICENSE_LENGTH);
+const string LocatorStrategy::retrieve_license_content(const string &licenseLocation) const {
+	return get_file_contents(licenseLocation.c_str(), LCC_API_MAX_LICENSE_DATA_LENGTH);
 }
 
-}
-}
+}  // namespace locate
+}  // namespace license

--
Gitblit v1.9.1