2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix -Wunused-function warnings

This commit is contained in:
Ilya Fedin
2021-07-12 11:13:58 +04:00
committed by John Preston
parent 84b1fac0c8
commit 89765340c3
19 changed files with 6 additions and 231 deletions

View File

@@ -40,12 +40,6 @@ struct LocationKey {
}
};
std::tuple<const uint64 &, const uint64 &> value_ordering_helper(const LocationKey &value) {
return std::tie(
value.type,
value.id);
}
LocationKey ComputeLocationKey(const Data::FileLocation &value) {
auto result = LocationKey();
result.type = value.dcId;

View File

@@ -320,12 +320,6 @@ QByteArray FormatTimeText(TimeId date) {
+ Data::NumberToString(parsed.minute(), 2);
}
QByteArray SerializeLink(
const Data::Utf8String &text,
const QString &path) {
return "<a href=\"" + path.toUtf8() + "\">" + text + "</a>";
}
} // namespace
namespace details {