diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-15 18:56:11 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-15 18:56:11 +0000 |
commit | 8713667ec1a6cc9ba56c07f763e5a422cc47fbef (patch) | |
tree | 56727634d8a1567679a7ba76cff93bf06e7c271f /libs/ardour/ardour/panner.h | |
parent | 79f91c7a205d981d2b8cc15e32a6da02d8423065 (diff) |
rework Stateful::set_state() patch to avoid default version argument
git-svn-id: svn://localhost/ardour2/branches/3.0@5787 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/panner.h')
-rw-r--r-- | libs/ardour/ardour/panner.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/panner.h b/libs/ardour/ardour/panner.h index 6a435ec235..86cd486113 100644 --- a/libs/ardour/ardour/panner.h +++ b/libs/ardour/ardour/panner.h @@ -73,7 +73,7 @@ class StreamPanner : public sigc::trackable, public PBD::Stateful sigc::signal<void> Changed; /* for position */ sigc::signal<void> StateChanged; /* for mute */ - int set_state (const XMLNode&, int version = 3000); + int set_state (const XMLNode&, int version); virtual XMLNode& state (bool full_state) = 0; Panner & get_parent() { return parent; } @@ -150,7 +150,7 @@ class EqualPowerStereoPanner : public BaseStereoPanner XMLNode& state (bool full_state); XMLNode& get_state (void); - int set_state (const XMLNode&, int version = 3000); + int set_state (const XMLNode&, int version); private: void update (); @@ -171,7 +171,7 @@ class Multi2dPanner : public StreamPanner XMLNode& state (bool full_state); XMLNode& get_state (void); - int set_state (const XMLNode&, int version = 3000); + int set_state (const XMLNode&, int version); /* old school automation loading */ @@ -228,7 +228,7 @@ public: XMLNode& get_state (void); XMLNode& state (bool full); - int set_state (const XMLNode&, int version = 3000); + int set_state (const XMLNode&, int version); static bool equivalent (pan_t a, pan_t b) { return fabsf (a - b) < 0.002; // about 1 degree of arc for a stereo panner |