Files
ardour/libs
David Robillard b63a9fd4ca Use shared_ptr::unique() instead of shared_ptr::use_count() == 1.
use_count() can be slow (not constant time) depending on underlying implementation.
Similar situation to std::list::size() == 0 an std::list::empty(), the former
does a big traversal/computation only to check if the very first step went.
I think the current boost implementation is just a reference count anyway, but
hey.  In theory.


git-svn-id: svn://localhost/ardour2/branches/3.0@5996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-01 17:25:38 +00:00
..
2009-10-30 21:07:29 +00:00
2009-10-24 15:35:50 +00:00
2009-04-16 00:43:41 +00:00
2009-07-02 16:00:45 +00:00
2009-07-22 20:51:13 +00:00
2008-09-10 15:03:30 +00:00
2009-07-22 20:51:13 +00:00
2009-07-22 20:51:13 +00:00
2009-07-22 20:51:13 +00:00