Commit f0a37663 authored by Dan Albert's avatar Dan Albert Committed by Ian Rogers
Browse files

Initialize art::Atomic's value to 0.

art::Mutex and art::ConditionVariable were DCHECKing that the value was
zero on entering the constructor without ever initializing the value.
Since 0 is a sensible default, make it the default for art::Atomic
rather than initializing for each use.

Bug: 16301104

(cherry picked from commit 6a3f8d93)

Change-Id: Iab69bccac9f904111a72eff8162c7f0ca979a08a
parent 63c051a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment