Files
AyuGramDesktop/Telegram/SourceFiles/base
John Preston b6128b6fe0 Fix undefined behaviour in base::weak_ptr.
Regression was introduced in 1c79f85d00.

Invalid casts lead to crashes in macOS notifications handling.
Casts were T* -> has_weak_ptr* -> void* -> T* which was not working
in case T had has_weak_ptr as not first base class.

Now it uses just T* -> has_weak_ptr* -> T* casts.
2018-10-10 00:19:47 +03:00
..
2018-09-01 18:56:08 +03:00
2018-09-01 18:56:08 +03:00
2018-09-21 19:28:46 +03:00
2018-06-07 10:44:38 +03:00
2018-09-01 18:56:08 +03:00
2018-09-21 19:28:46 +03:00
2018-09-01 18:56:08 +03:00
2018-06-12 01:02:04 +03:00
2018-06-12 01:02:04 +03:00
2018-09-21 19:28:46 +03:00