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



commit a99b393dd337942699daaba4483923202718609c
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 16b51e0..36c69fa 100644
--- a/glom/libglom/data_structure/glomconversions.cc
+++ b/glom/libglom/data_structure/glomconversions.cc
@@ -494,6 +494,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]