summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/session_event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/session_event.h b/libs/ardour/ardour/session_event.h
index b0af5596f6..9eeecb9a56 100644
--- a/libs/ardour/ardour/session_event.h
+++ b/libs/ardour/ardour/session_event.h
@@ -25,6 +25,7 @@
#include <list>
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
+#include <boost/weak_ptr.hpp>
#include "pbd/pool.h"
#include "pbd/ringbuffer.h"
@@ -86,7 +87,7 @@ public:
OverwriteReason overwrite;
};
- boost::shared_ptr<Track> track;
+ boost::weak_ptr<Track> track;
union {
bool second_yes_or_no;