we always only use the "C" locale when saving.
[ardour.git] / libs / pbd / locale_guard.cc
index f848cf33f8b12f3abd1270712937f551cbb5ae50..8007ea001b60c7fcd9b7d24f07ad559146d6b400 100644 (file)
@@ -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)) {