From 8e1bdfdca2ad2157fd74cedc1a6768a1b1c0849d Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周日, 09 2月 2020 04:48:55 +0800
Subject: [PATCH] identifiers next work

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

diff --git a/src/library/locate/LocatorStrategy.cpp b/src/library/locate/LocatorStrategy.cpp
index fc7f3ab..5e64648 100644
--- a/src/library/locate/LocatorStrategy.cpp
+++ b/src/library/locate/LocatorStrategy.cpp
@@ -5,7 +5,7 @@
  *      Author: Gabriele Contini
  */
 
-#include <build_properties.h>
+#include <licensecc_properties.h>
 
 #include "../base/FileUtils.hpp"
 #include "LocatorStrategy.hpp"
@@ -14,10 +14,9 @@
 namespace locate {
 using namespace std;
 
-const string LocatorStrategy::retrieveLicense(
-		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