Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-05-02 16:50:53 +00:00
committed by Bart Louwers
parent b2a3e518c7
commit caee9cc12f
43 changed files with 454 additions and 417 deletions

View File

@@ -3,9 +3,9 @@
#include <atomic>
namespace {
// This is not in the class declaration to minimize include dependencies
std::atomic<std::int64_t> nextId = 1;
} // anonymous namespace
// This is not in the class declaration to minimize include dependencies
std::atomic<std::int64_t> nextId = 1;
} // anonymous namespace
namespace mbgl {
namespace util {
@@ -13,11 +13,7 @@ namespace util {
const SimpleIdentity SimpleIdentity::Empty = {emptyID};
SimpleIdentity::SimpleIdentity()
: uniqueID(nextId++)
{
}
: uniqueID(nextId++) {}
} // namespace util
} // namespace mbgl