diff options
| author | dpoliarush <polyarush.dmytro@gmail.com> | 2019-12-21 03:26:40 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2019-12-20 17:26:40 -0800 |
| commit | 37265f7a45489d065ed02891cbfd2becb741712b (patch) | |
| tree | 0907014b14f58b8f4d5ea7fa448b5c130ba45375 /toolsrc/include | |
| parent | c916800646b7c4c035a941b6abde5e22c3589a4f (diff) | |
| download | vcpkg-37265f7a45489d065ed02891cbfd2becb741712b.tar.gz vcpkg-37265f7a45489d065ed02891cbfd2becb741712b.zip | |
[vcpkg] Removed unused template function. (#9287)
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/util.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/toolsrc/include/vcpkg/base/util.h b/toolsrc/include/vcpkg/base/util.h index 3d32e3aa8..ad628e071 100644 --- a/toolsrc/include/vcpkg/base/util.h +++ b/toolsrc/include/vcpkg/base/util.h @@ -11,14 +11,6 @@ namespace vcpkg::Util { - template<class T> - constexpr std::add_const_t<T>& as_const(T& t) noexcept - { - return t; - } - template<class T> - void as_const(const T&&) = delete; - template<class Container> using ElementT = std::remove_reference_t<decltype(*std::declval<typename std::remove_reference_t<Container>::iterator>())>; |
