Remove io_duplicate, which is no longer used

This commit is contained in:
ridiculousfish
2013-01-04 01:05:35 -08:00
parent ac023f7588
commit a79d3c680c
2 changed files with 0 additions and 14 deletions

11
io.cpp
View File

@@ -166,12 +166,6 @@ void io_chain_t::remove(const shared_ptr<const io_data_t> &element)
}
}
io_chain_t io_chain_t::duplicate() const
{
io_chain_t result = *this;
return result;
}
void io_chain_t::duplicate_prepend(const io_chain_t &src)
{
/* Prepend a duplicate of src before this. */
@@ -188,11 +182,6 @@ void io_remove(io_chain_t &list, const shared_ptr<const io_data_t> &element)
list.remove(element);
}
io_chain_t io_duplicate(const io_chain_t &chain)
{
return chain.duplicate();
}
void io_print(const io_chain_t &chain)
{
if (chain.empty())