Fixed build of macOS on Github CI.

This commit is contained in:
23rd 2025-05-16 12:27:02 +03:00
parent a2b3fe6411
commit b45a696b5d
4 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ jobs:
macos: macos:
name: MacOS name: MacOS
runs-on: macos-13 runs-on: macos-latest
strategy: strategy:
matrix: matrix:

View file

@ -64,7 +64,7 @@ namespace {
if (separateType == Window::SeparateSharedMediaType::None) { if (separateType == Window::SeparateSharedMediaType::None) {
return { nullptr }; return { nullptr };
} }
return { Window::SeparateSharedMedia(separateType, peer, topicRootId) }; return { Window::SeparateSharedMedia{ separateType, peer, topicRootId } };
} }
void AddContextMenuToButton( void AddContextMenuToButton(

View file

@ -63,7 +63,7 @@ bool Storage::write(
return false; return false;
} }
if (k == end(bykey)) { if (k == end(bykey)) {
bykey.emplace_back(key, *value); bykey.emplace_back(Entry{ key, *value });
++list.keysCount; ++list.keysCount;
} else if (value) { } else if (value) {
k->value = *value; k->value = *value;

@ -1 +1 @@
Subproject commit 419049fcbe88c68486609232c4db7550833c74ca Subproject commit b4f913beb8fba75046b3b6b329658624bf7e934d