From ff896d5f5ec20e1371b423bb746c32fa55cc126a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Dec 2015 20:20:47 +0000 Subject: Ref does not need to be a template since it's always used for Asset. --- src/util.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 29c5657b..27afdfa2 100644 --- a/src/util.h +++ b/src/util.h @@ -65,21 +65,6 @@ extern std::string file_to_string (boost::filesystem::path, uintmax_t max_length extern std::string private_key_fingerprint (std::string key); extern xmlpp::Node* find_child (xmlpp::Node const * node, std::string name); -template -std::list > -list_of_type (std::list > const & from) -{ - std::list > out; - for (typename std::list >::const_iterator i = from.begin(); i != from.end(); ++i) { - boost::shared_ptr check = boost::dynamic_pointer_cast (*i); - if (check) { - out.push_back (check); - } - } - - return out; -} - } #endif -- cgit v1.2.3