rework Stateful::set_state() patch to avoid default version argument
[ardour.git] / libs / ardour / ardour / ladspa_plugin.h
index b08f3e5afadba4a9aa5211d58b753720d8586bc9..656c13afae1bd355c150ee09ef4815046bb7a352 100644 (file)
@@ -99,7 +99,7 @@ class LadspaPlugin : public ARDOUR::Plugin
        bool parameter_is_toggled(uint32_t) const;
 
        XMLNode& get_state();
-       int      set_state (const XMLNode&, int version = 3000);
+       int      set_state (const XMLNode&, int version);
        bool     save_preset(std::string name);
 
        bool has_editor() const { return false; }
@@ -133,7 +133,7 @@ class LadspaPlugin : public ARDOUR::Plugin
        void init (void *mod, uint32_t index, nframes_t rate);
        void run_in_place (nframes_t nsamples);
        void latency_compute_run ();
-       int set_state_2X (const XMLNode&, int version = 3000);
+       int set_state_2X (const XMLNode&, int version);
 };
 
 class LadspaPluginInfo : public PluginInfo {