diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-10-13 18:50:28 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-10-13 18:50:28 -0700 |
| commit | 0d7381ba408e4d5bcde06ab7a6353ff14e7afc0b (patch) | |
| tree | 293a786398d109ca316fc89d2f128fd80d7d5f56 /toolsrc/src/VersionT.cpp | |
| parent | 2397cc044ee56160757aeb402dc7adaec6b00894 (diff) | |
| parent | a790820e8cdf9adca3e5cf066b8a563a3beaacd1 (diff) | |
| download | vcpkg-0d7381ba408e4d5bcde06ab7a6353ff14e7afc0b.tar.gz vcpkg-0d7381ba408e4d5bcde06ab7a6353ff14e7afc0b.zip | |
Merge branch 'refactor-includes'
Diffstat (limited to 'toolsrc/src/VersionT.cpp')
| -rw-r--r-- | toolsrc/src/VersionT.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/toolsrc/src/VersionT.cpp b/toolsrc/src/VersionT.cpp deleted file mode 100644 index 738d2ce88..000000000 --- a/toolsrc/src/VersionT.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "pch.h" - -#include "VersionT.h" -#include "vcpkg_Strings.h" - -namespace vcpkg -{ - VersionT::VersionT() : value("0.0.0") {} - VersionT::VersionT(const std::string& value) : value(value) {} - std::string VersionT::to_string() const { return value; } - bool operator==(const VersionT& left, const VersionT& right) { return left.value == right.value; } - bool operator!=(const VersionT& left, const VersionT& right) { return left.value != right.value; } - std::string to_printf_arg(const VersionT& version) { return version.value; } - - VersionDiff::VersionDiff() : left(), right() {} - VersionDiff::VersionDiff(const VersionT& left, const VersionT& right) : left(left), right(right) {} - - std::string VersionDiff::to_string() const { return Strings::format("%s -> %s", left.value, right.value); } -} |
