summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/locale_guard.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-27 04:52:40 -0500
committerDavid Robillard <d@drobilla.net>2015-02-27 14:21:45 -0500
commit933e9c2919a93f87291f6090decae712c245ac12 (patch)
treeef39b796f9116ad8282e38c6c3fb689ffa9b11cf /libs/pbd/pbd/locale_guard.h
parente77e7f1f3d8e599f6df8c2c480745cbbab7e1e85 (diff)
Fix unnecessary const violation.
Diffstat (limited to 'libs/pbd/pbd/locale_guard.h')
-rw-r--r--libs/pbd/pbd/locale_guard.h4
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;
};
}