2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build for GCC.

This commit is contained in:
John Preston
2019-06-21 10:58:31 +02:00
parent 4917ca7b32
commit 6537e524b8
2 changed files with 4 additions and 4 deletions

View File

@@ -103,13 +103,13 @@ public:
}
QString getValue(ushort key) const {
Expects(key >= 0 && key < _values.size());
Expects(key < _values.size());
return _values[key];
}
QString getNonDefaultValue(const QByteArray &key) const;
bool isNonDefaultPlural(ushort key) const {
Expects(key >= 0 && key + 5 < _nonDefaultSet.size());
Expects(key + 5 < _nonDefaultSet.size());
return _nonDefaultSet[key]
|| _nonDefaultSet[key + 1]