Resolve compile error

This commit is contained in:
Salanto 2021-08-23 23:22:34 +02:00
parent f31d474def
commit 58a751afb0
2 changed files with 3 additions and 3 deletions
core
include/logger
src/logger

View File

@ -99,7 +99,7 @@ private:
* @brief Returns the buffer of a respective area. Primarily used by the Discord Webhook.
* @param Name of the area which buffer is requested.
*/
QQueue<QString> buffer(QString f_areaName);
QQueue<QString> buffer(const QString &f_areaName);
/**
* @brief QMap of all available area buffers.

View File

@ -63,7 +63,7 @@ void ULogger::updateAreaBuffer(const QString &f_area, const QString &f_entry)
}
QQueue<QString> ULogger::buffer(QString f_areaName)
QQueue<QString> ULogger::buffer(const QString& f_areaName)
{
return m_bufferMap.value(f_areaName);
}