projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add pbd/types_convert.h header for PBD::to_string/string_to specialisations
[ardour.git]
/
libs
/
pbd
/
pbd
/
unwind.h
diff --git
a/libs/pbd/pbd/unwind.h
b/libs/pbd/pbd/unwind.h
index 5a0fe265592b8d4ded3a8816782a20a839c4d160..d4c43d05bd4e67959bd6118fd4a24215bd4acaa1 100644
(file)
--- a/
libs/pbd/pbd/unwind.h
+++ b/
libs/pbd/pbd/unwind.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2012 Paul Davis
+ Copyright (C) 2012 Paul 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
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
@@
-29,7
+29,7
@@
class /*LIBPBD_API*/ Unwinder {
public:
Unwinder (T& var, T new_val) : _var (var), _old_val (var) { var = new_val; }
~Unwinder () { _var = _old_val; }
public:
Unwinder (T& var, T new_val) : _var (var), _old_val (var) { var = new_val; }
~Unwinder () { _var = _old_val; }
-
+
private:
T& _var;
T _old_val;
private:
T& _var;
T _old_val;