Modified version of Hans' patch for mantis 1985. Also remove unused port_connections...
[ardour.git] / libs / ardour / plugin.cc
index f69de57b9972cf8aeab6b036f3fd05c86b1541a7..e94487845eeb4b321e4807aa08720bc256f718dc 100644 (file)
 
 */
 
+#ifdef WAF_BUILD
+#include "libardour-config.h"
+#endif
+
 #include <vector>
 #include <string>
 
 #include "i18n.h"
 #include <locale.h>
 
+using namespace std;
 using namespace ARDOUR;
 using namespace PBD;
 
 Plugin::Plugin (AudioEngine& e, Session& s)
-       : _engine (e), _session (s)
+       : _engine (e)
+       , _session (s)
+       , _cycles (0)
 {
 }
 
 Plugin::Plugin (const Plugin& other)
-       : _engine (other._engine), _session (other._session), _info (other._info)
+       : StatefulDestructible()
+       , Latent()
+       , _engine (other._engine)
+       , _session (other._session)
+       , _info (other._info)
+       , _cycles (0)
+       , presets (other.presets)
 {
 }