[glom/glom-1-30] Add TODO to use std::to_string() instead of stringstream.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-30] Add TODO to use std::to_string() instead of stringstream.
- Date: Thu, 10 Mar 2016 11:17:11 +0000 (UTC)
commit deba089cb0aeb298dc4e4cd816202b27982d7037
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Mar 7 17:23:32 2016 +0100
Add TODO to use std::to_string() instead of stringstream.
glom/libglom/data_structure/glomconversions.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glom/libglom/data_structure/glomconversions.cc b/glom/libglom/data_structure/glomconversions.cc
index 7140f4a..6e4301c 100644
--- a/glom/libglom/data_structure/glomconversions.cc
+++ b/glom/libglom/data_structure/glomconversions.cc
@@ -495,6 +495,7 @@ Glib::ustring Conversions::get_text_for_gda_value(Field::glom_field_type glom_ty
const auto number = get_double_for_gda_value_numeric(value);
//Get the locale-specific text representation, in the required format:
+ //TODO: Use std::to_string(), but with the correct locale.
std::stringstream another_stream;
another_stream.imbue(locale); //Tell it to parse stuff as per this locale.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]