Remove unused function

This commit is contained in:
Alexander Karatarakis 2016-11-29 16:45:21 -08:00
parent daa47668d0
commit c0564b6111
1 changed files with 0 additions and 13 deletions

View File

@ -18,19 +18,6 @@ using namespace vcpkg;
bool vcpkg::g_do_dry_run = false;
namespace
{
template <class M, class K, class V>
auto find_or_default(const M& map, const K& key, const V& val)
{
auto it = map.find(key);
if (it == map.end())
return decltype(it->second)(val);
else
return it->second;
}
}
namespace
{
std::fstream open_status_file(const vcpkg_paths& paths, std::ios_base::openmode mode = std::ios_base::app | std::ios_base::in | std::ios_base::out | std::ios_base::binary)