[PATCH 02/15] Remove useless const qualifiers on return
From: qolyester@green-communications.fr
This commit is contained in:
parent
59fc6e9e46
commit
fcae4df485
6 changed files with 6 additions and 6 deletions
|
@ -143,7 +143,7 @@ public:
|
||||||
|
|
||||||
void set_property(const std::string &name, Variant &value);
|
void set_property(const std::string &name, Variant &value);
|
||||||
|
|
||||||
virtual IntrospectedInterface *const introspect() const
|
virtual IntrospectedInterface * introspect() const
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
IntrospectedInterface *const introspect() const;
|
IntrospectedInterface * introspect() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class DXXAPI IntrospectableProxy : public InterfaceProxy
|
class DXXAPI IntrospectableProxy : public InterfaceProxy
|
||||||
|
|
|
@ -82,7 +82,7 @@ protected:
|
||||||
virtual void on_set_property(InterfaceAdaptor &/*interface*/, const std::string &/*property*/, const Variant &/*value*/)
|
virtual void on_set_property(InterfaceAdaptor &/*interface*/, const std::string &/*property*/, const Variant &/*value*/)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
IntrospectedInterface *const introspect() const;
|
IntrospectedInterface * introspect() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class DXXAPI PropertiesProxy : public InterfaceProxy
|
class DXXAPI PropertiesProxy : public InterfaceProxy
|
||||||
|
|
|
@ -144,7 +144,7 @@ Message IntrospectableAdaptor::Introspect(const CallMessage &call)
|
||||||
return reply;
|
return reply;
|
||||||
}
|
}
|
||||||
|
|
||||||
IntrospectedInterface *const IntrospectableAdaptor::introspect() const
|
IntrospectedInterface * IntrospectableAdaptor::introspect() const
|
||||||
{
|
{
|
||||||
static IntrospectedArgument Introspect_args[] =
|
static IntrospectedArgument Introspect_args[] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -96,7 +96,7 @@ Message PropertiesAdaptor::Set(const CallMessage &call)
|
||||||
return reply;
|
return reply;
|
||||||
}
|
}
|
||||||
|
|
||||||
IntrospectedInterface *const PropertiesAdaptor::introspect() const
|
IntrospectedInterface * PropertiesAdaptor::introspect() const
|
||||||
{
|
{
|
||||||
static IntrospectedArgument Get_args[] =
|
static IntrospectedArgument Get_args[] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -145,7 +145,7 @@ void generate_adaptor(Xml::Document &doc, const char *filename)
|
||||||
body << tab << "}" << endl
|
body << tab << "}" << endl
|
||||||
<< endl;
|
<< endl;
|
||||||
|
|
||||||
body << tab << "::DBus::IntrospectedInterface *const introspect() const " << endl
|
body << tab << "::DBus::IntrospectedInterface *introspect() const " << endl
|
||||||
<< tab << "{" << endl;
|
<< tab << "{" << endl;
|
||||||
|
|
||||||
// generate the introspect arguments
|
// generate the introspect arguments
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue