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

@@ -10,9 +10,15 @@
using platform::CountryFile;
using platform::LocalCountryFile;
FeaturesFetcher::FeaturesFetcher() { m_dataSource.AddObserver(*this); }
FeaturesFetcher::FeaturesFetcher()
{
m_dataSource.AddObserver(*this);
}
FeaturesFetcher::~FeaturesFetcher() { m_dataSource.RemoveObserver(*this); }
FeaturesFetcher::~FeaturesFetcher()
{
m_dataSource.RemoveObserver(*this);
}
// While reading any files (classificator or mwm), there are 2 types of possible exceptions:
// Reader::Exception, FileAbsentException.
@@ -30,8 +36,7 @@ void FeaturesFetcher::InitClassificator()
}
}
std::pair<MwmSet::MwmId, MwmSet::RegResult> FeaturesFetcher::RegisterMap(
LocalCountryFile const & localFile)
std::pair<MwmSet::MwmId, MwmSet::RegResult> FeaturesFetcher::RegisterMap(LocalCountryFile const & localFile)
{
try
{
@@ -62,9 +67,15 @@ bool FeaturesFetcher::DeregisterMap(CountryFile const & countryFile)
return m_dataSource.Deregister(countryFile);
}
void FeaturesFetcher::Clear() { m_dataSource.Clear(); }
void FeaturesFetcher::Clear()
{
m_dataSource.Clear();
}
void FeaturesFetcher::ClearCaches() { m_dataSource.ClearCache(); }
void FeaturesFetcher::ClearCaches()
{
m_dataSource.ClearCache();
}
m2::RectD FeaturesFetcher::GetWorldRect() const
{