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& get_list_of_valid_fields(); - SourceParagraph(); explicit SourceParagraph(std::unordered_map 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& SourceParagraph::get_list_of_valid_fields() + static const std::vector& get_list_of_valid_fields() { static const std::vector valid_fields = {