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-01-03 13:23:14 +03:00
2018-09-01 18:56:08 +03:00
2018-09-27 23:31:48 +03:00
2018-09-01 18:56:08 +03:00
2018-10-09 21:58:56 +03:00
2018-10-09 21:58:56 +03:00
2018-09-01 18:56:08 +03:00
2018-09-01 18:56:08 +03:00
2018-09-28 15:50:47 +03:00
2018-09-01 18:56:08 +03:00
2018-09-01 18:56:08 +03:00
2018-01-03 13:23:14 +03:00
2018-01-03 13:23:14 +03:00
2018-01-03 13:23:14 +03:00
2018-09-01 18:56:08 +03:00
2018-09-21 19:28:46 +03:00
2018-01-03 13:23:14 +03:00
2018-06-07 10:44:38 +03:00
2018-01-03 13:23:14 +03:00
2018-01-03 13:23:14 +03:00
2018-09-01 18:56:08 +03:00
2018-09-01 18:56:08 +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-01-03 13:23:14 +03:00
2018-01-03 13:23:14 +03:00
2018-01-03 13:23:14 +03:00
2018-01-03 13:23:14 +03:00
2018-01-03 13:23:14 +03:00
2018-09-01 18:56:08 +03:00
2018-09-01 18:56:08 +03:00
2018-09-01 18:56:08 +03:00
2018-02-08 12:20:50 +03:00
2018-09-01 18:56:08 +03:00
2018-09-01 18:56:08 +03:00
2018-06-12 01:02:04 +03:00
2018-01-03 13:23:14 +03:00
2018-06-12 01:02:04 +03:00
2018-09-01 18:56:08 +03:00
2018-01-03 13:23:14 +03:00
2018-06-17 13:47:47 +01:00
2018-09-21 19:28:46 +03:00
2018-01-03 13:23:14 +03:00
2018-10-10 00:19:47 +03:00
2018-01-03 13:23:14 +03:00