Time to get rid of the horrible coding style

This commit is contained in:
pd 2008-08-01 18:31:43 +02:00
parent 534ee610d8
commit efc594f888
53 changed files with 1137 additions and 1136 deletions

View file

@ -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;
}