diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-09-01 17:08:21 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-09-01 17:08:21 -0700 |
| commit | 66eeab0015866417f4386a3822127ce7d40c49f9 (patch) | |
| tree | e17324b07fef53295531f1852ed9a396089961be /toolsrc/include | |
| parent | 2d758beea9d8068f189f79d79b4087e40d42154b (diff) | |
| download | vcpkg-66eeab0015866417f4386a3822127ce7d40c49f9.tar.gz vcpkg-66eeab0015866417f4386a3822127ce7d40c49f9.zip | |
[Triplet] Naming convention and missing const
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/triplet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/triplet.h b/toolsrc/include/triplet.h index be3bcf5b3..46a52f8e6 100644 --- a/toolsrc/include/triplet.h +++ b/toolsrc/include/triplet.h @@ -9,7 +9,7 @@ namespace vcpkg struct Triplet { public: - constexpr Triplet() : m_instance(&default_instance) {} + constexpr Triplet() : m_instance(&DEFAULT_INSTANCE) {} static Triplet from_canonical_name(const std::string& triplet_as_string); @@ -26,7 +26,7 @@ namespace vcpkg bool operator==(const Triplet& other) const; private: - static const TripletInstance default_instance; + static const TripletInstance DEFAULT_INSTANCE; constexpr Triplet(const TripletInstance* ptr) : m_instance(ptr) {} |
