mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Optimize and rename base::weak_unique_ptr.
Rename base::enable_weak_from_this -> base::has_weak_ptr. Rename base::weak_unique_ptr -> base::weak_ptr. Rename base::make_weak_unique -> base::make_weak. Rename base/weak_unique_ptr.h -> base/weak_ptr.h
This commit is contained in:
@@ -23,7 +23,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
#include "storage/localimageloader.h"
|
||||
#include "history/history_common.h"
|
||||
#include "core/single_timer.h"
|
||||
#include "base/weak_unique_ptr.h"
|
||||
#include "base/weak_ptr.h"
|
||||
#include "ui/rp_widget.h"
|
||||
|
||||
namespace Notify {
|
||||
@@ -583,7 +583,7 @@ private:
|
||||
object_ptr<Window::SectionWidget> _thirdSection = { nullptr };
|
||||
std::unique_ptr<Window::SectionMemento> _thirdSectionFromStack;
|
||||
|
||||
base::weak_unique_ptr<Calls::Call> _currentCall;
|
||||
base::weak_ptr<Calls::Call> _currentCall;
|
||||
object_ptr<Ui::SlideWrap<Calls::TopBar>> _callTopBar = { nullptr };
|
||||
|
||||
object_ptr<Window::PlayerWrapWidget> _player = { nullptr };
|
||||
|
Reference in New Issue
Block a user