diff options
author | David Robillard <d@drobilla.net> | 2015-02-27 04:52:40 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-27 14:21:45 -0500 |
commit | 933e9c2919a93f87291f6090decae712c245ac12 (patch) | |
tree | ef39b796f9116ad8282e38c6c3fb689ffa9b11cf /libs/pbd/pbd/locale_guard.h | |
parent | e77e7f1f3d8e599f6df8c2c480745cbbab7e1e85 (diff) |
Fix unnecessary const violation.
Diffstat (limited to 'libs/pbd/pbd/locale_guard.h')
-rw-r--r-- | libs/pbd/pbd/locale_guard.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/pbd/pbd/locale_guard.h b/libs/pbd/pbd/locale_guard.h index 8ef100f3f7..dc82ab4483 100644 --- a/libs/pbd/pbd/locale_guard.h +++ b/libs/pbd/pbd/locale_guard.h @@ -29,9 +29,11 @@ namespace PBD { struct LIBPBD_API LocaleGuard { LocaleGuard (const char*); ~LocaleGuard (); - const char* old; static std::string current; + +private: + char* old; }; } |