Time to get rid of the horrible coding style
This commit is contained in:
parent
534ee610d8
commit
efc594f888
53 changed files with 1137 additions and 1136 deletions
|
@ -44,16 +44,16 @@ struct DXXAPI InternalError
|
|||
dbus_error_init(&error);
|
||||
}
|
||||
|
||||
explicit InternalError( DBusError* e )
|
||||
explicit InternalError(DBusError *e)
|
||||
{
|
||||
dbus_error_init(&error);
|
||||
dbus_move_error(e, &error);
|
||||
}
|
||||
|
||||
InternalError(const InternalError& ie)
|
||||
InternalError(const InternalError &ie)
|
||||
{
|
||||
dbus_error_init(&error);
|
||||
dbus_move_error(const_cast<DBusError*>(&(ie.error)), &error);
|
||||
dbus_move_error(const_cast<DBusError *>(&(ie.error)), &error);
|
||||
}
|
||||
|
||||
~InternalError()
|
||||
|
@ -61,7 +61,7 @@ struct DXXAPI InternalError
|
|||
dbus_error_free(&error);
|
||||
}
|
||||
|
||||
operator DBusError*()
|
||||
operator DBusError *()
|
||||
{
|
||||
return &error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue