mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Fixed clazy warnings: pass large objects by reference to const.
This commit is contained in:
@@ -523,7 +523,7 @@ namespace BlackCore
|
||||
return this->getInfoObjectCount(entity, m_sharedInfoDataReader);
|
||||
}
|
||||
|
||||
QString CWebDataServices::getDbReadersLog(const QString separator) const
|
||||
QString CWebDataServices::getDbReadersLog(const QString &separator) const
|
||||
{
|
||||
QStringList report;
|
||||
if (m_dbInfoDataReader) { report << m_dbInfoDataReader->getName() + ": " + m_dbInfoDataReader->getReadLog().getSummary(); }
|
||||
@@ -536,7 +536,7 @@ namespace BlackCore
|
||||
return report.join(separator);
|
||||
}
|
||||
|
||||
QString CWebDataServices::getReadersLog(const QString separator) const
|
||||
QString CWebDataServices::getReadersLog(const QString &separator) const
|
||||
{
|
||||
const QString db = this->getDbReadersLog(separator);
|
||||
QStringList report;
|
||||
|
||||
@@ -445,10 +445,10 @@ namespace BlackCore
|
||||
int getSharedInfoObjectCount(BlackMisc::Network::CEntityFlags::Entity entity) const;
|
||||
|
||||
//! For all available DB readers the log info is generated
|
||||
QString getDbReadersLog(const QString separator = "\n") const;
|
||||
QString getDbReadersLog(const QString &separator = "\n") const;
|
||||
|
||||
//! For all available readers the log info is generated
|
||||
QString getReadersLog(const QString separator = "\n") const;
|
||||
QString getReadersLog(const QString &separator = "\n") const;
|
||||
|
||||
//! Has already successfully connect swift DB?
|
||||
bool hasSuccesfullyConnectedSwiftDb() const;
|
||||
|
||||
Reference in New Issue
Block a user