tdesktop/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
..
algorithm.h Isolate lib_base library. Use crl::time in getms. 2018-09-01 18:56:08 +03:00
algorithm_tests.cpp
assertion.h Fix client side generated changelogs display. 2018-09-27 23:31:48 +03:00
base_pch.cpp Isolate lib_base library. Use crl::time in getms. 2018-09-01 18:56:08 +03:00
base_pch.h Version 1.4.1: Fix build for old OS X. 2018-10-09 21:58:56 +03:00
basic_types.h Version 1.4.1: Fix build for old OS X. 2018-10-09 21:58:56 +03:00
binary_guard.h Fix base::binary_guard. 2018-09-01 18:56:08 +03:00
build_config.h Add basic implementation of Storage::Cache DB. 2018-09-01 18:56:08 +03:00
bytes.h Version 1.4.0: Fix build for old OS X versions. 2018-09-28 15:50:47 +03:00
concurrent_timer.cpp Add base::ConcurrentTimer. 2018-09-01 18:56:08 +03:00
concurrent_timer.h Fix build for Xcode. 2018-09-01 18:56:08 +03:00
enum_mask.h
flags.h
flags_tests.cpp
flat_map.h Move to std::optional. 2018-09-21 19:28:46 +03:00
flat_map_tests.cpp Work with Cache::Database in LocalStorageBox. 2018-09-01 18:56:08 +03:00
flat_set.h Fix first passcode unlock. 2018-06-07 10:44:38 +03:00
flat_set_tests.cpp
functors.h
index_based_iterator.h
match_method.h Add a generic BinlogReader. 2018-09-01 18:56:08 +03:00
observer.cpp Isolate lib_base library. Use crl::time in getms. 2018-09-01 18:56:08 +03:00
observer.h Isolate lib_base library. Use crl::time in getms. 2018-09-01 18:56:08 +03:00
openssl_help.h Clear old versions of Storage::Cache::Database. 2018-09-01 18:56:08 +03:00
optional.h Move to std::optional. 2018-09-21 19:28:46 +03:00
ordered_set.h
overload.h
parse_helper.cpp
parse_helper.h
qthelp_regex.h
qthelp_url.cpp Isolate lib_base library. Use crl::time in getms. 2018-09-01 18:56:08 +03:00
qthelp_url.h Isolate lib_base library. Use crl::time in getms. 2018-09-01 18:56:08 +03:00
runtime_composer.cpp Isolate lib_base library. Use crl::time in getms. 2018-09-01 18:56:08 +03:00
runtime_composer.h Manage unread bar using HistoryView::Element-s. 2018-02-08 12:20:50 +03:00
tests_main.cpp Fix Storage::File lock with killing and add tests. 2018-09-01 18:56:08 +03:00
timer.cpp Add base::ConcurrentTimer. 2018-09-01 18:56:08 +03:00
timer.h Start data export in lib_export. 2018-06-12 01:02:04 +03:00
type_traits.h
unique_any.h Start data export in lib_export. 2018-06-12 01:02:04 +03:00
unique_function.h Add basic implementation of Storage::Cache DB. 2018-09-01 18:56:08 +03:00
unique_qptr.h
value_ordering.h Add downloaded files cache in export. 2018-06-17 13:47:47 +01:00
variant.h Move to std::optional. 2018-09-21 19:28:46 +03:00
virtual_method.h
weak_ptr.h Fix undefined behaviour in base::weak_ptr. 2018-10-10 00:19:47 +03:00
zlib_help.h