2
0
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:
John Preston
2021-07-30 21:03:33 +03:00
parent 66bcc20f58
commit f3ab01604c
5 changed files with 5 additions and 7 deletions

View File

@@ -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;
}