[glom/glom-1-30] Add TODO to use std::to_string() instead of stringstream.



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]