mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Version 2.9: Fix build on Linux.
This commit is contained in:
@@ -194,7 +194,7 @@ template <typename T>
|
||||
bool SetClickContext(
|
||||
const ClickHandlerPtr &handler,
|
||||
const ClickContext &context) {
|
||||
if (const auto casted = dynamic_pointer_cast<T>(handler)) {
|
||||
if (const auto casted = std::dynamic_pointer_cast<T>(handler)) {
|
||||
casted->T::onClick(context);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user