mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix -Wunused-function warnings
This commit is contained in:
@@ -72,15 +72,6 @@ using namespace details;
|
||||
return idsStr + "]";
|
||||
}
|
||||
|
||||
[[nodiscard]] QString LogIds(const QVector<uint64> &ids) {
|
||||
if (!ids.size()) return "[]";
|
||||
auto idsStr = QString("[%1").arg(*ids.cbegin());
|
||||
for (const auto id : ids) {
|
||||
idsStr += QString(", %2").arg(id);
|
||||
}
|
||||
return idsStr + "]";
|
||||
}
|
||||
|
||||
[[nodiscard]] QString ComputeAppVersion() {
|
||||
return QString::fromLatin1(AppVersionStr) + ([] {
|
||||
#if defined OS_MAC_STORE
|
||||
|
Reference in New Issue
Block a user