Formats minimally release source files based on former clang-format
This commit is contained in:
387 files changed
+37323
-38074
No files matched your search
@@ -9,13 +9,14 @@
|
||||
namespace LtsWebSocket
|
||||
{
|
||||
|
||||
InvalidMessage::InvalidMessage(ReplyHandler* client, const QString& uuid, const QString& errorText)
|
||||
: AbstractClientMessage(client, QString(), 1, uuid), m_errorText(errorText)
|
||||
{
|
||||
}
|
||||
InvalidMessage::InvalidMessage(ReplyHandler *client, const QString &uuid, const QString &errorText)
|
||||
: AbstractClientMessage(client, QString(), 1, uuid)
|
||||
, m_errorText(errorText)
|
||||
{
|
||||
}
|
||||
|
||||
void InvalidMessage::process()
|
||||
{
|
||||
void InvalidMessage::process()
|
||||
{
|
||||
ErrorMessage::ErrorData errorData;
|
||||
|
||||
errorData.errorClass = 1;
|
||||
@@ -23,12 +24,12 @@ void InvalidMessage::process()
|
||||
errorData.uuid = m_uuid;
|
||||
|
||||
m_client->addReply(new ErrorMessage(errorData));
|
||||
}
|
||||
}
|
||||
|
||||
bool InvalidMessage::hasValidData() const
|
||||
{
|
||||
bool InvalidMessage::hasValidData() const
|
||||
{
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace LtsWebSocket
|
||||
Reference in new issue
Block a user