diff --git a/examples/Makefile.am b/examples/Makefile.am index a940bc8..40fa245 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = properties echo hal glib ecore +DIST_SUBDIRS = properties echo hal glib ecore MAINTAINERCLEANFILES = \ Makefile.in diff --git a/include/dbus-c++/property.h b/include/dbus-c++/property.h index 2e909cb..847ae89 100644 --- a/include/dbus-c++/property.h +++ b/include/dbus-c++/property.h @@ -46,7 +46,7 @@ public: T operator() (void) const { - return (T)_data->value; + return _data->value.operator T(); } PropertyAdaptor &operator = (const T &t)