Use XMLNode::set_property in PBD::PropertyTemplate<T> class
[ardour.git] / libs / pbd / pbd / receiver.h
index d3303ae19288fcecae9855be16c44fb2a1729c06..2f44deb93ffcc130351bc4d1113ba5ebf40e779d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 1998-99 Paul Barton-Davis 
+    Copyright (C) 1998-99 Paul Barton-Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -34,7 +34,7 @@ class LIBPBD_API Receiver : public sigc::trackable
   public:
        Receiver ();
        virtual ~Receiver ();
-       
+
        void listen_to (Transmitter &);
        void hangup ();
 
@@ -42,7 +42,7 @@ class LIBPBD_API Receiver : public sigc::trackable
        virtual void receive (Transmitter::Channel, const char *) = 0;
 
   private:
-       std::vector<sigc::connection *> connections;
+       PBD::ScopedConnectionList connections;
 };
 
 #endif  // __libmisc_receiver_h__