mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:10:05 +00:00
Archive warnings clang-tidy fixes
This commit is contained in:
parent
8cdd8526eb
commit
81f09e07f0
14 changed files with 43 additions and 46 deletions
|
|
@ -241,7 +241,7 @@ void TextEventManager::SelectTime(
|
|||
|
||||
boost::asio::post(
|
||||
p->threadPool_,
|
||||
[=, this]()
|
||||
[this]()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -259,7 +259,7 @@ void TextEventManager::SelectTime(
|
|||
date < p->archiveLimit_;
|
||||
});
|
||||
|
||||
std::unique_lock lock {p->archiveMutex_};
|
||||
const std::unique_lock lock {p->archiveMutex_};
|
||||
|
||||
p->UpdateArchiveDates(dates);
|
||||
p->ListArchives(dates);
|
||||
|
|
@ -382,7 +382,7 @@ void TextEventManager::Impl::ListArchives(DateRange dates)
|
|||
auto productEntries = provider::IemApiProvider::ListTextProducts(
|
||||
dateArray | ranges::views::all, kEmptyRange_, kPilsView_);
|
||||
|
||||
std::unique_lock lock {unloadedProductMapMutex_};
|
||||
const std::unique_lock lock {unloadedProductMapMutex_};
|
||||
|
||||
if (productEntries.has_value())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue