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

@@ -45,10 +45,7 @@ public:
return true;
}
bool Contains(KeyType const & key) const
{
return m_map.find(key) != m_map.cend();
}
bool Contains(KeyType const & key) const { return m_map.find(key) != m_map.cend(); }
ValueType const & Get(KeyType const & key) const
{
@@ -58,15 +55,9 @@ public:
return it->second->second;
}
ValueType & Front()
{
return m_list.front().second;
}
ValueType & Front() { return m_list.front().second; }
ValueType const & Front() const
{
return m_list.front().second;
}
ValueType const & Front() const { return m_list.front().second; }
void Swap(LinkedMap & linkedMap)
{
@@ -74,15 +65,9 @@ public:
m_list.swap(linkedMap.m_list);
}
size_t Size() const
{
return m_list.size();
}
size_t Size() const { return m_list.size(); }
bool IsEmpty() const
{
return m_list.empty();
}
bool IsEmpty() const { return m_list.empty(); }
private:
ListType m_list;