diff options
author | Kevron Rees <kevron.m.rees@intel.com> | 2013-11-21 14:18:28 -0800 |
---|---|---|
committer | Kevron Rees <kevron.m.rees@intel.com> | 2013-11-21 14:18:28 -0800 |
commit | 04b39f72c840d4e1b47614cf58644472a3f28c82 (patch) | |
tree | 54a17e65b4a852364c3151518ea8bf58c4f7db58 | |
parent | a63b0a5160e4e92eaba1bee7e8662268cf447256 (diff) | |
download | automotive-message-broker-04b39f72c840d4e1b47614cf58644472a3f28c82.tar.gz |
return string instead of char* for signature()
-rw-r--r-- | plugins/dbus/abstractproperty.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dbus/abstractproperty.h b/plugins/dbus/abstractproperty.h index eb8b5c83..2049f1c3 100644 --- a/plugins/dbus/abstractproperty.h +++ b/plugins/dbus/abstractproperty.h @@ -53,12 +53,12 @@ public: mSetterFunc = setterFunc; } - virtual const char* signature() + virtual const string signature() { GVariant* var = toGVariant(); if(!var) return ""; - const char * s = g_variant_get_type_string(var); + const string s = g_variant_get_type_string(var); g_variant_unref(var); return s; } |