13
0

Remove unused source reference count.

git-svn-id: svn://localhost/ardour2/branches/3.0@5956 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-10-28 15:34:07 +00:00
parent fe910cdc13
commit ee4493301a
2 changed files with 0 additions and 6 deletions

View File

@ -82,9 +82,6 @@ class Source : public SessionObject, public boost::noncopyable
virtual bool set_destructive (bool /*yn*/) { return false; }
virtual bool length_mutable() const { return false; }
void use () { _in_use++; }
void disuse () { if (_in_use) { _in_use--; } }
static sigc::signal<void,Source*> SourceCreated;
sigc::signal<void,boost::shared_ptr<Source> > Switched;
@ -118,7 +115,6 @@ class Source : public SessionObject, public boost::noncopyable
Glib::Mutex _playlist_lock;
private:
uint32_t _in_use;
void fix_writable_flags ();
};

View File

@ -53,7 +53,6 @@ Source::Source (Session& s, DataType type, const string& name, Flag flags)
{
_analysed = false;
_timestamp = 0;
_in_use = 0;
fix_writable_flags ();
}
@ -65,7 +64,6 @@ Source::Source (Session& s, const XMLNode& node)
{
_timestamp = 0;
_analysed = false;
_in_use = 0;
if (set_state (node, Stateful::loading_state_version) || _type == DataType::NIL) {
throw failed_constructor();