From 3dc7728038860bda6eb4b0de1f4a3e14ec9e86cc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 5 May 2016 21:49:56 +0200 Subject: we always only use the "C" locale when saving. --- libs/pbd/locale_guard.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libs/pbd/locale_guard.cc') 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,20 +34,8 @@ 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)) { -- cgit v1.2.3