refs #336 Style and const-correctness.

This commit is contained in:
Mathew Sutcliffe
2014-10-11 23:56:17 +01:00
parent 663740d5bd
commit e3446d78d8
5 changed files with 8 additions and 9 deletions

View File

@@ -132,7 +132,7 @@ namespace BlackMisc
* \param separator values separated by given value
* \return
*/
QString asString(bool withSender, bool withRecipient, const QString separator = ", ") const;
QString asString(bool withSender, bool withRecipient, const QString &separator = ", ") const;
/*!
* Whole message as BlackMisc::CStatusMessage.
@@ -142,7 +142,7 @@ namespace BlackMisc
* \param separator values separated by given value
* \return
*/
BlackMisc::CStatusMessage asStatusMessage(bool withSender, bool withRecipient, const QString separator = ", ") const;
BlackMisc::CStatusMessage asStatusMessage(bool withSender, bool withRecipient, const QString &separator = ", ") const;
//! \brief Toggle sender receiver, can be used to ping my own message
void toggleSenderRecipient();