From 2d75b7944990f1ce80b3847be1f8dff09df82dad Mon Sep 17 00:00:00 2001 From: Victor Toofic <toofics@users.noreply.github.com> Date: ćšć, 20 5æ 2021 00:04:08 +0800 Subject: [PATCH] - use CMake PROJECT_DESCRIPTION var instead to be able to build with cmake < 3.8 (#118) --- src/library/locate/ExternalDefinition.hpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/library/locate/ExternalDefinition.hpp b/src/library/locate/ExternalDefinition.hpp index 3f50ee9..7ffa9ae 100644 --- a/src/library/locate/ExternalDefinition.hpp +++ b/src/library/locate/ExternalDefinition.hpp @@ -15,10 +15,11 @@ class ExternalDefinition: public LocatorStrategy { private: - const std::string m_location; + const LicenseLocation* m_location; public: - ExternalDefinition(const char* location); - virtual const std::vector<std::string> licenseLocations(EventRegistry& eventRegistry) const; + ExternalDefinition(const LicenseLocation* location); + const virtual std::vector<std::string> license_locations(EventRegistry& eventRegistry); + const virtual std::string retrieve_license_content(const std::string& licenseLocation) const; virtual ~ExternalDefinition(); }; -- Gitblit v1.9.1