usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/util.hpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/util.hpp
Date: Sun, 09 Jan 2005 04:50:40 -0500

Index: usata2/src/util.hpp
diff -u usata2/src/util.hpp:1.6 usata2/src/util.hpp:1.7
--- usata2/src/util.hpp:1.6     Sun Jan  9 09:28:54 2005
+++ usata2/src/util.hpp Sun Jan  9 09:34:42 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: util.hpp,v 1.6 2005/01/09 09:28:54 skunix Exp $
+// $Id: util.hpp,v 1.7 2005/01/09 09:34:42 skunix Exp $
 
 #ifndef USATA_UTIL_HPP
 #define USATA_UTIL_HPP
@@ -26,18 +26,6 @@
        
        void strip_comments(std::string&s);
 
-       template<typename T>
-       struct shared_ptr_find_ptr : public 
std::unary_function<boost::shared_ptr<T>,bool>
-       {
-               typedef boost::shared_ptr<T> T_sp;
-               T* looking_for;
-               shared_ptr_find_ptr(T*t):looking_for(t){}
-               bool operator()(const T_sp& sp)
-               {
-                       return (sp.get==looking_for);
-               }
-       };
-
        struct at_scope_exit
        {
                typedef boost::function<void ()> func;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]