Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -137,12 +137,11 @@ namespace diffs
// static
void Loader::Load(LocalMapsInfo && info, DiffsReceivedCallback && callback)
{
GetPlatform().RunTask(Platform::Thread::Network, [info = std::move(info), callback = std::move(callback)]() {
GetPlatform().RunTask(Platform::Thread::Network, [info = std::move(info), callback = std::move(callback)]()
{
auto result = ::Load(info);
GetPlatform().RunTask(Platform::Thread::Gui,
[result = std::move(result), callback = std::move(callback)]() mutable {
callback(std::move(result));
});
GetPlatform().RunTask(Platform::Thread::Gui, [result = std::move(result), callback = std::move(callback)]() mutable
{ callback(std::move(result)); });
});
}
} // namespace diffs