mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
9
libs/drape_frontend/tile_key.hpp
Executable file → Normal file
9
libs/drape_frontend/tile_key.hpp
Executable file → Normal file
@@ -20,8 +20,8 @@ struct TileKey
|
||||
// Operators < and == do not consider parameter m_generation.
|
||||
// m_generation is used to determine a generation of geometry for this tile key.
|
||||
// Geometry with different generations must be able to group by (x, y, zoomlevel).
|
||||
bool operator < (TileKey const & other) const;
|
||||
bool operator == (TileKey const & other) const;
|
||||
bool operator<(TileKey const & other) const;
|
||||
bool operator==(TileKey const & other) const;
|
||||
|
||||
// These methods implement strict comparison of tile keys. It's necessary to merger of
|
||||
// batches which must not merge batches with different m_generation.
|
||||
@@ -48,10 +48,7 @@ struct TileKey
|
||||
|
||||
struct TileKeyStrictComparator
|
||||
{
|
||||
bool operator() (TileKey const & lhs, TileKey const & rhs) const
|
||||
{
|
||||
return lhs.LessStrict(rhs);
|
||||
}
|
||||
bool operator()(TileKey const & lhs, TileKey const & rhs) const { return lhs.LessStrict(rhs); }
|
||||
};
|
||||
|
||||
std::string DebugPrint(TileKey const & key);
|
||||
|
||||
Reference in New Issue
Block a user