Skip to content

Commit

Permalink
[vcpkg] Removed unused template function. (#9287)
Browse files Browse the repository at this point in the history
  • Loading branch information
ortymd authored and ras0219-msft committed Dec 21, 2019
1 parent c916800 commit 37265f7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions toolsrc/include/vcpkg/base/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>())>;
Expand Down

0 comments on commit 37265f7

Please sign in to comment.