From 78c4103171732369725487b5f0e43816e1ea1256 Mon Sep 17 00:00:00 2001
From: nancy.liao <huihui.liao@greentest.com.cn>
Date: 周三, 28 5月 2025 16:58:22 +0800
Subject: [PATCH] 修复了缺少头文件编译报错的问题

---
 src/library/LicenseReader.hpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/library/LicenseReader.hpp b/src/library/LicenseReader.hpp
index de3bfa0..854a0d6 100644
--- a/src/library/LicenseReader.hpp
+++ b/src/library/LicenseReader.hpp
@@ -24,6 +24,7 @@
 	const std::string license_signature;
 	const std::string source;
 	const std::string m_project;
+	unsigned int m_magic;
 	std::map<std::string, std::string> m_limits;
 
 	FullLicenseInfo(const std::string& source, const std::string& product, const std::string& license_signature);
@@ -55,7 +56,7 @@
 
 public:
 	LicenseReader(const LicenseLocation* licenseLocation);
-	EventRegistry readLicenses(const std::string& product, std::vector<FullLicenseInfo>& licenseInfoOut);
+	EventRegistry readLicenses(const std::string& product, std::vector<FullLicenseInfo>& licenseInfoOut) const;
 	virtual ~LicenseReader();
 };
 }  // namespace license

--
Gitblit v1.9.1