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:
committed by
Bart Louwers
parent
b2a3e518c7
commit
caee9cc12f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user