diff options
author | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-02 13:11:46 +0000 |
---|---|---|
committer | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-02 13:11:46 +0000 |
commit | a10a16b6f221e7ced094b499b9a42cc18012cb0e (patch) | |
tree | 852a355b0e19419b7fb5fc3d67eb21075867d090 /base/atomic_sequence_num.h | |
parent | 87b3252371835a19ace756ef4fbdfb9c6eee5778 (diff) | |
download | chromium_src-a10a16b6f221e7ced094b499b9a42cc18012cb0e.zip chromium_src-a10a16b6f221e7ced094b499b9a42cc18012cb0e.tar.gz chromium_src-a10a16b6f221e7ced094b499b9a42cc18012cb0e.tar.bz2 |
Add a LinkerInitialized constructor to AtomicSequenceNumber.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/atomic_sequence_num.h')
-rw-r--r-- | base/atomic_sequence_num.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/atomic_sequence_num.h b/base/atomic_sequence_num.h index 2da29e8..26bea4e 100644 --- a/base/atomic_sequence_num.h +++ b/base/atomic_sequence_num.h @@ -13,6 +13,7 @@ namespace base { class AtomicSequenceNumber { public: AtomicSequenceNumber() : seq_(0) { } + explicit AtomicSequenceNumber(base::LinkerInitialized x) { /* seq_ is 0 */ } int GetNext() { return static_cast<int>( |