[glibmm/mkolny/meson-build: 1/2] Object: build fix



commit a5e97b0a641a90bd61f6faef7023bb9feee0b35a
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Sun Jul 30 14:52:08 2017 +0100

    Object: build fix
    
    Value_Pointer class takes only one template argument

 glib/glibmm/object.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/glibmm/object.h b/glib/glibmm/object.h
index 72c6692..d55db05 100644
--- a/glib/glibmm/object.h
+++ b/glib/glibmm/object.h
@@ -233,11 +233,11 @@ struct TypeTraits<Glib::RefPtr<const T>>
 
 } // namespace Container_Helpers
 
-template <class T, class PtrT>
+template <class PtrT>
 inline PtrT
-Value_Pointer<T, PtrT>::get_(Glib::Object*) const
+Value_Pointer<PtrT>::get_(Glib::Object*) const
 {
-  return dynamic_cast<T*>(get_object());
+  return dynamic_cast<PtrT>(get_object());
 }
 
 /** Partial specialization for RefPtr<> to Glib::Object.


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