Removed unused code.
This commit is contained in:
parent
27b46ceee1
commit
c3351206b9
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user