From 1d1082fe695366da3498f528b953203a90fe7385 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周六, 01 2月 2020 02:48:51 +0800 Subject: [PATCH] rename enums and further developments --- src/library/locate/LocatorStrategy.cpp | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/library/locate/LocatorStrategy.cpp b/src/library/locate/LocatorStrategy.cpp index e1319b2..8bde5f1 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::retrieve_license_content( - const string &licenseLocation) const { +const string LocatorStrategy::retrieve_license_content(const string &licenseLocation) const { return get_file_contents(licenseLocation.c_str(), MAX_LICENSE_LENGTH); } -} -} +} // namespace locate +} // namespace license -- Gitblit v1.9.1