2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Closed beta 1000018001: calls and payments dummies.

This commit is contained in:
John Preston
2017-03-05 23:14:10 +03:00
parent 31e3c6a2c6
commit 12ca6f3819
7 changed files with 36 additions and 22 deletions

View File

@@ -26,6 +26,20 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include <set>
#include <gsl/gsl>
#ifdef OS_MAC_OLD
namespace gsl {
inline span<char> make_span(QByteArray &container) {
return span<char>(container.begin(), container.end());
}
inline span<const char> make_span(const QByteArray &container) {
return span<const char>(container.begin(), container.end());
}
} // namespace gsl
#endif // OS_MAC_OLD
// Release build assertions.
inline void t_noop() {
}