Skip to content

Commit

Permalink
Remove minor formatting inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Aug 24, 2024
1 parent 71b0438 commit 942a4a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/QtUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ namespace QtUtils {

bool operator>(const CaseInsensitiveQString &lhs, const CaseInsensitiveQString &rhs) { return lhs.m_str > rhs; }

bool operator>(const CaseInsensitiveQString &lhs, const QString &rhs) {
return rhs <= lhs;
}
bool operator>(const CaseInsensitiveQString &lhs, const QString &rhs) { return rhs <= lhs; }

bool operator>=(const QString &lhs, const CaseInsensitiveQString &rhs) {
return lhs.compare(rhs.m_str, Qt::CaseInsensitive) >= 0;
Expand Down
2 changes: 1 addition & 1 deletion src/database/Database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace db {
bool operator()(const std::unique_ptr< Table > &ptr) { return ptr && ptr->getName() == name; }
};

Database::Database(Backend backend) : m_backend(backend){}
Database::Database(Backend backend) : m_backend(backend) {}

void Database::init(const ConnectionParameter &parameter) {
assert(parameter.applicability() == m_backend);
Expand Down
2 changes: 1 addition & 1 deletion src/murmur/Server.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
#include "HostAddress.h"
#include "Mumble.pb.h"
#include "MumbleProtocol.h"
#include "QtUtils.h"
#include "Timer.h"
#include "User.h"
#include "Version.h"
#include "VolumeAdjustment.h"
#include "QtUtils.h"

#include "database/ConnectionParameter.h"

Expand Down

0 comments on commit 942a4a4

Please sign in to comment.