From 8d7d51f6a300d132110e18e4b884b10b9fbe3aa6 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周日, 03 5月 2020 19:43:13 +0800
Subject: [PATCH] api rename project_name->feature_name

---
 src/library/licensecc.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/library/licensecc.cpp b/src/library/licensecc.cpp
index dd377e1..ea34b28 100644
--- a/src/library/licensecc.cpp
+++ b/src/library/licensecc.cpp
@@ -21,7 +21,7 @@
 #include "hw_identifier/hw_identifier_facade.hpp"
 #include "os/execution_environment.hpp"
 #include "limits/license_verifier.hpp"
-#include "base/StringUtils.h"
+#include "base/string_utils.h"
 #include "LicenseReader.hpp"
 
 using namespace std;
@@ -77,8 +77,8 @@
 	string project;
 	size_t str_size;
 	if (callerInformation != nullptr &&
-		(str_size = license::mstrnlen_s(callerInformation->project_name, sizeof callerInformation->project_name)) > 0) {
-		project = string(callerInformation->project_name, str_size);
+		(str_size = license::mstrnlen_s(callerInformation->feature_name, sizeof callerInformation->feature_name)) > 0) {
+		project = string(callerInformation->feature_name, str_size);
 	} else {
 		project = string(LCC_PROJECT_NAME);
 	}

--
Gitblit v1.9.1