From d78c1a974f1eabe8caf5df36bbd5b55b2dcd701d Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Mon, 7 Nov 2016 17:37:08 -0800 Subject: Move shorten_description to vcpkglib_helpers --- toolsrc/include/vcpkg.h | 2 -- toolsrc/include/vcpkglib_helpers.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toolsrc/include') diff --git a/toolsrc/include/vcpkg.h b/toolsrc/include/vcpkg.h index 30d8adbf8..3a8160c71 100644 --- a/toolsrc/include/vcpkg.h +++ b/toolsrc/include/vcpkg.h @@ -13,8 +13,6 @@ namespace vcpkg extern bool g_do_dry_run; - std::string shorten_description(const std::string& desc); - StatusParagraphs database_load_check(const vcpkg_paths& paths); void install_package(const vcpkg_paths& paths, const BinaryParagraph& binary_paragraph, StatusParagraphs& status_db); diff --git a/toolsrc/include/vcpkglib_helpers.h b/toolsrc/include/vcpkglib_helpers.h index 640fab555..019bb8c39 100644 --- a/toolsrc/include/vcpkglib_helpers.h +++ b/toolsrc/include/vcpkglib_helpers.h @@ -9,4 +9,6 @@ namespace vcpkg {namespace details std::string required_field(const std::unordered_map& fields, const std::string& fieldname); std::string remove_required_field(std::unordered_map* fields, const std::string& fieldname); + + std::string shorten_description(const std::string& desc); }} -- cgit v1.2.3