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-07-30 13:37:33 +00:00
2006-10-06 00:00:44 +00:00
2009-02-18 18:32:13 +00:00
2009-04-16 16:02:25 +00:00
2009-05-14 00:13:27 +00:00
2009-02-18 18:32:13 +00:00
2005-05-13 20:47:18 +00:00

Please see the Ardour web site at http://ardour.org/ for all documentation..


Description
No description provided
Readme 202 MiB
Languages
C++ 56.5%
C 39.6%
JavaScript 1.3%
Lua 0.9%
Python 0.6%
Other 0.9%