Removed unused code.

This commit is contained in:
Patrick Lühne 2017-04-06 17:19:32 +02:00
parent 27b46ceee1
commit c3351206b9
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -355,31 +355,6 @@ std::vector<Formula> deepCopy(const std::vector<Formula> &formulas);
Term deepCopy(const Term &term);
std::vector<Term> deepCopy(const std::vector<Term> &terms);
////////////////////////////////////////////////////////////////////////////////////////////////////
/*
const auto deepCopyUniquePtr =
[](const auto &uniquePtr) -> typename std::decay<decltype(uniquePtr)>::type
{
using Type = typename std::decay<decltype(uniquePtr)>::type::element_type;
return std::make_unique<Type>(deepCopy(*uniquePtr));
};
////////////////////////////////////////////////////////////////////////////////////////////////////
const auto deepCopyUniquePtrVector =
[](const auto &uniquePtrVector) -> typename std::decay<decltype(uniquePtrVector)>::type
{
using Type = typename std::decay<decltype(uniquePtrVector)>::type::value_type;
std::vector<Type> result;
result.reserve(uniquePtrVector.size());
for (const auto &uniquePtr : uniquePtrVector)
result.emplace_back(deepCopyUniquePtr(uniquePtr));
return result;
};
*/
////////////////////////////////////////////////////////////////////////////////////////////////////
template<class Variant>