| Flutter Impeller |

comparable.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "impeller/base/comparable.h"
6
7 #include <atomic>
8
9 namespace impeller {
10
11 static std::atomic_size_t sLastID;
12 UniqueID::UniqueID() : id(++sLastID) {}
13
14 } // namespace impeller
impeller::sLastID
static std::atomic_size_t sLastID
Definition: comparable.cc:11
impeller::UniqueID::UniqueID
UniqueID()
Definition: comparable.cc:12
comparable.h
impeller
Definition: aiks_context.cc:10