aboutsummaryrefslogtreecommitdiff
path: root/toolsrc
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc')
-rw-r--r--toolsrc/include/SourceParagraph.h2
-rw-r--r--toolsrc/src/SourceParagraph.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/toolsrc/include/SourceParagraph.h b/toolsrc/include/SourceParagraph.h
index 9c9439ea7..bac005144 100644
--- a/toolsrc/include/SourceParagraph.h
+++ b/toolsrc/include/SourceParagraph.h
@@ -7,8 +7,6 @@ namespace vcpkg
{
struct SourceParagraph
{
- static const std::vector<std::string>& get_list_of_valid_fields();
-
SourceParagraph();
explicit SourceParagraph(std::unordered_map<std::string, std::string> fields);
diff --git a/toolsrc/src/SourceParagraph.cpp b/toolsrc/src/SourceParagraph.cpp
index f46a9c2af..6f25dbded 100644
--- a/toolsrc/src/SourceParagraph.cpp
+++ b/toolsrc/src/SourceParagraph.cpp
@@ -19,7 +19,7 @@ namespace vcpkg
static const std::string BUILD_DEPENDS = "Build-Depends";
}
- const std::vector<std::string>& SourceParagraph::get_list_of_valid_fields()
+ static const std::vector<std::string>& get_list_of_valid_fields()
{
static const std::vector<std::string> valid_fields =
{