diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-16 23:30:28 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-16 23:30:28 -0400 |
commit | c5115c9a3c8ce6639f37e0b429e0498bb522d913 (patch) | |
tree | 667e48ff6ec80f274c7eafda4e44dceaaaeb342b /libs/pbd/pbd/unwind.h | |
parent | cb3abec9665b7a69702294e5a6ffdd26f54885c3 (diff) |
add export visibility control to libpbd (works thus far on linux/gcc)
Diffstat (limited to 'libs/pbd/pbd/unwind.h')
-rw-r--r-- | libs/pbd/pbd/unwind.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/pbd/pbd/unwind.h b/libs/pbd/pbd/unwind.h index 6062e1f6e1..cf7998fdd4 100644 --- a/libs/pbd/pbd/unwind.h +++ b/libs/pbd/pbd/unwind.h @@ -20,10 +20,12 @@ #ifndef __libpbd_unwinder_h__ #define __libpbd_unwinder_h__ +#include "pbd/libpbd_visibility.h" + namespace PBD { template <typename T> -class Unwinder { +class LIBPBD_API Unwinder { public: Unwinder (T& var, T new_val) : _var (var), _old_val (var) { var = new_val; } ~Unwinder () { _var = _old_val; } |