summaryrefslogtreecommitdiff
path: root/glib/glibmm/propertyproxy.h
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-03-31 11:14:58 +0200
committerMurray Cumming <murrayc@murrayc.com>2016-03-31 11:39:07 +0200
commitf61e1d0e8b6c48d940ba9d2690543af9192614c1 (patch)
tree98c568e0c942a102906fac936a2848e07b652a35 /glib/glibmm/propertyproxy.h
parentfb9f840e18edaa54f6c51762b2b9aa67f6fcd85b (diff)
downloadglibmm-f61e1d0e8b6c48d940ba9d2690543af9192614c1.tar.gz
C++11: .h/.cc files: Replace typedefs with using.
Diffstat (limited to 'glib/glibmm/propertyproxy.h')
-rw-r--r--glib/glibmm/propertyproxy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/glibmm/propertyproxy.h b/glib/glibmm/propertyproxy.h
index 1d47b3c0..bc274090 100644
--- a/glib/glibmm/propertyproxy.h
+++ b/glib/glibmm/propertyproxy.h
@@ -44,7 +44,7 @@ template <class T>
class PropertyProxy : public PropertyProxy_Base
{
public:
- typedef T PropertyType;
+ using PropertyType = T;
PropertyProxy(ObjectBase* obj, const char* name) : PropertyProxy_Base(obj, name) {}
@@ -78,7 +78,7 @@ template <class T>
class PropertyProxy_WriteOnly : public PropertyProxy_Base
{
public:
- typedef T PropertyType;
+ using PropertyType = T;
PropertyProxy_WriteOnly(ObjectBase* obj, const char* name) : PropertyProxy_Base(obj, name) {}
@@ -105,7 +105,7 @@ template <class T>
class PropertyProxy_ReadOnly : public PropertyProxy_Base
{
public:
- typedef T PropertyType;
+ using PropertyType = T;
// obj is const, because this should be returned by const accessors.
PropertyProxy_ReadOnly(const ObjectBase* obj, const char* name)