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