[glibmm/wip/dboles/ustring_format_fold_and_test] ustring: Remove useless alternative Stringify ctor



commit 3b3d656c4eb176cca33069aa53b4f4a555e958de
Author: Daniel Boles <dboles src gnome org>
Date:   Sun Oct 14 14:36:10 2018 +0100

    ustring: Remove useless alternative Stringify ctor
    
    This can never be called, because we explicitly specialise Stringify for
    const char*, so that specialisation will always be used instead of this.

 glib/glibmm/ustring.h | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h
index e7b91b69..edd713db 100644
--- a/glib/glibmm/ustring.h
+++ b/glib/glibmm/ustring.h
@@ -1074,9 +1074,6 @@ private:
 public:
   explicit inline Stringify(const T& arg) : string_(ustring::format(arg)) {}
 
-  // TODO: Why is this here? See the template specialization:
-  explicit inline Stringify(const char* arg) : string_(arg) {}
-
   // noncopyable
   Stringify(const ustring::Stringify<T>&) = delete;
   Stringify<T>& operator=(const ustring::Stringify<T>&) = delete;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]