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:
@@ -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;
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user