summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Volz <andreas@er00923n.(none)>2010-08-04 00:01:23 +0200
committerAndreas Volz <andreas@er00923n.(none)>2010-08-04 00:01:23 +0200
commit4e6b136fe07ec539c439416ab58375e1a3edb195 (patch)
treeab203e4161841280780d35d3d53f6c15e7c9db45
parent8a3fb381a1b53bef45b997c52a9cf115e9c40515 (diff)
downloaddbus-c++-4e6b136fe07ec539c439416ab58375e1a3edb195.tar.gz
Commit 1979ced0e0741caae3299c7f94733ba4d62a1e65 from Hubert Figuiere
-rw-r--r--examples/Makefile.am2
-rw-r--r--include/dbus-c++/property.h2
2 files changed, 2 insertions, 2 deletions
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)