summaryrefslogtreecommitdiff
path: root/glib/glibmm/ustring.cc
diff options
context:
space:
mode:
Diffstat (limited to 'glib/glibmm/ustring.cc')
-rw-r--r--glib/glibmm/ustring.cc17
1 files changed, 1 insertions, 16 deletions
diff --git a/glib/glibmm/ustring.cc b/glib/glibmm/ustring.cc
index 46c6f354..e936e4b4 100644
--- a/glib/glibmm/ustring.cc
+++ b/glib/glibmm/ustring.cc
@@ -1253,22 +1253,7 @@ ustring::SequenceToString<Glib::ustring::const_iterator,gunichar>
ustring::FormatStream::FormatStream()
:
stream_ ()
-{
- // Try to use the default locale of the environment,
- // but don't abort if it cannot be initialized.
-#ifdef GLIBMM_EXCEPTIONS_ENABLED
- try
- {
- stream_.imbue(std::locale(""));
- }
- catch (const std::runtime_error& error)
- {
- g_warning("%s: %s", G_STRFUNC, error.what());
- }
-#else
- stream_.imbue(std::locale(""));
-#endif /* !GLIBMM_EXCEPTIONS_ENABLED */
-}
+{}
ustring::FormatStream::~FormatStream()
{}