summaryrefslogtreecommitdiff
path: root/libs/pbd/locale_guard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/locale_guard.cc')
-rw-r--r--libs/pbd/locale_guard.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/libs/pbd/locale_guard.cc b/libs/pbd/locale_guard.cc
index f848cf33f8..8007ea001b 100644
--- a/libs/pbd/locale_guard.cc
+++ b/libs/pbd/locale_guard.cc
@@ -34,21 +34,9 @@ using namespace PBD;
* and some plugin may change either behind our back.
*/
-LocaleGuard::LocaleGuard (const char*)
- : old_c (0)
-{
- init ();
-}
-
LocaleGuard::LocaleGuard ()
: old_c (0)
{
- init ();
-}
-
-void
-LocaleGuard::init ()
-{
char* actual = setlocale (LC_NUMERIC, NULL);
if (strcmp ("C", actual)) {
/* purpose of LocaleGuard is to make sure we're using "C" for