summaryrefslogtreecommitdiff
path: root/glib/glibmm/object.h
diff options
context:
space:
mode:
authorMarcin Kolny <marcin.kolny@gmail.com>2017-07-30 14:47:57 +0100
committerMarcin Kolny <marcin.kolny@gmail.com>2017-08-01 23:07:25 +0100
commit0f1c2b720e9fe3210d2fd39593d5695a24197de4 (patch)
treeaa2319d68e092ce05b5f1b0856196e2dc8604f8c /glib/glibmm/object.h
parenteaf2c38459eb1ebec37a0e640cb270182835fb28 (diff)
downloadglibmm-0f1c2b720e9fe3210d2fd39593d5695a24197de4.tar.gz
Object: build fix
Value_Pointer class takes only one template argument
Diffstat (limited to 'glib/glibmm/object.h')
-rw-r--r--glib/glibmm/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/glibmm/object.h b/glib/glibmm/object.h
index 72c66928..006d5ea7 100644
--- a/glib/glibmm/object.h
+++ b/glib/glibmm/object.h
@@ -233,9 +233,9 @@ 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());
}