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:
parent
fe910cdc13
commit
ee4493301a
@ -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 ();
|
||||
};
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user