X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Funwind.h;h=d4c43d05bd4e67959bd6118fd4a24215bd4acaa1;hb=800fdd0f0fba047b3189326b424a8ece46666880;hp=5a0fe265592b8d4ded3a8816782a20a839c4d160;hpb=1745340c67d66d8dd92e5b3a377e935ed5eea973;p=ardour.git diff --git a/libs/pbd/pbd/unwind.h b/libs/pbd/pbd/unwind.h index 5a0fe26559..d4c43d05bd 100644 --- 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 @@ -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; } - + private: T& _var; T _old_val;