aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/BinaryParagraph.h
diff options
context:
space:
mode:
authorJan HrubĂ˝ <jhruby.web@gmail.com>2017-03-13 08:56:05 +0100
committerGitHub <noreply@github.com>2017-03-13 08:56:05 +0100
commit665f4118f603c5858217ed7a2f2f824b18ff4fc5 (patch)
treef0167041edf71e90f2331b5025f603392a8de67a /toolsrc/include/BinaryParagraph.h
parent1bec0fcb73073b5b1719f454c368a63f1bff625e (diff)
parent1c9873a0daf625f67474aaf3e163c592c27ecb65 (diff)
downloadvcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.tar.gz
vcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.zip
Merge pull request #1 from Microsoft/master
pull
Diffstat (limited to 'toolsrc/include/BinaryParagraph.h')
-rw-r--r--toolsrc/include/BinaryParagraph.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/toolsrc/include/BinaryParagraph.h b/toolsrc/include/BinaryParagraph.h
index 88d6e84b1..3d9cfb9fb 100644
--- a/toolsrc/include/BinaryParagraph.h
+++ b/toolsrc/include/BinaryParagraph.h
@@ -2,14 +2,14 @@
#include <unordered_map>
#include "SourceParagraph.h"
-#include "triplet.h"
+#include "package_spec.h"
namespace vcpkg
{
struct BinaryParagraph
{
BinaryParagraph();
- explicit BinaryParagraph(const std::unordered_map<std::string, std::string>& fields);
+ explicit BinaryParagraph(std::unordered_map<std::string, std::string> fields);
BinaryParagraph(const SourceParagraph& spgh, const triplet& target_triplet);
std::string displayname() const;
@@ -18,11 +18,10 @@ namespace vcpkg
std::string dir() const;
- std::string name;
+ package_spec spec;
std::string version;
std::string description;
std::string maintainer;
- triplet target_triplet;
std::vector<std::string> depends;
};