13
0
livetrax/libs/pbd
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
..
boost-debug Fix local include. 2009-04-30 16:47:51 +00:00
macosx rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
pbd Use shared_ptr::unique() instead of shared_ptr::use_count() == 1. 2009-11-01 17:25:38 +00:00
tests Fix end-marker-is-free option in templates. 2009-06-03 16:50:46 +00:00
.cvsignore rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
base_ui.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
basename.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
ChangeLog rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
command.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
controllable.cc Fix unused parameter warnings since GCC apparently doesn't feel like listening to -Wno-unused-parameter 2009-10-21 00:15:42 +00:00
convert.cc Patch from agorka to add some includes required for building with the GCC shipped with Ubuntu Karmic. 2009-05-18 00:21:17 +00:00
COPYING rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
dmalloc.cc rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
enumwriter.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
error.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
file_utils.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
filesystem_paths.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
filesystem.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
fpu.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
gettext.h Upgrade to waf 1.5.4. 2009-04-18 16:15:12 +00:00
i18n.h *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
id.cc Make ARDOUR::init safer. 2009-10-27 18:00:45 +00:00
libpbd.pc.in rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
libpbd.spec.in rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
locale_guard.cc * libardour uses ARDOUR::nframes_t and ARDOUR::nframes64_t explicitly in headers 2009-10-28 21:36:40 +00:00
malign.cc new file to encapsulate posix_memalign() hackery 2009-04-23 17:43:39 +00:00
mountpoint.cc merge pre- and post-fader processor boxes; start removing Placement (not finished) ; add -DWAF_BUILD and use per-directory foobar-config.h to correctly pick up configure-time settings like HAVE_OGG ; check for libgiomm (part of upgrade to newer gtk stack); 32 bit marker reload fix from 2.X; audiounit IO config cache fix from 2.X; multi-add route template fix from 2.X; plugin GUI delete fix from 2.X; solo button labels are A or P for listen mode 2009-07-13 00:26:28 +00:00
pathscanner.cc Fix some unused parameter warnings. 2009-07-21 15:55:17 +00:00
pool.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
pthread_utils.cc part 2 of 3 of the 2.8 -> 3.0 merge 2009-04-16 16:02:25 +00:00
receiver.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
SConscript remove offset from process callback tree. some breakage may have occured. yes, really. 2009-04-23 17:48:37 +00:00
search_path.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
shortpath.cc Patch from agorka to add some includes required for building with the GCC shipped with Ubuntu Karmic. 2009-05-18 00:21:17 +00:00
stacktrace.cc Fix some unused parameter warnings. 2009-07-21 15:55:17 +00:00
stateful.cc rework Stateful::set_state() patch to avoid default version argument 2009-10-15 18:56:11 +00:00
strreplace.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
strsplit.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
textreceiver.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
transmitter.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
undo.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
uuid.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
whitespace.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
wscript * libardour uses ARDOUR::nframes_t and ARDOUR::nframes64_t explicitly in headers 2009-10-28 21:36:40 +00:00
xml++.cc Since add_property creates new XMLProperty objects, remove_property should probably delete them. Although remove_property is only used in one place in Ardour that I can see. 2009-10-20 18:44:44 +00:00