Skip to content

Commit 476e66d

Browse files
committed
Version 6.3.3: Fix build with Xcode.
1 parent fc11d81 commit 476e66d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,8 @@ rpl::producer<Ui::SlideWrap<Ui::RpWidget>*> TopBarSuggestionValue(
288288
Fn<void()> callback;
289289
base::has_weak_ptr guard;
290290
};
291-
const auto button = state->auctionsLifetime.make_state<
292-
Button
293-
>();
291+
auto &lifetime = state->auctionsLifetime;
292+
const auto button = lifetime.template make_state<Button>();
294293
const auto window = FindSessionController(parent);
295294
auctions->active(
296295
) | rpl::start_with_next([=](ActiveAuctions &&active) {

0 commit comments

Comments
 (0)