Skip to content

Commit

Permalink
Add missing ifndef guard for count_down_latch.h (flutter#9143)
Browse files Browse the repository at this point in the history
I discovered this while experimenting with the timing API.
  • Loading branch information
liyuqian authored May 30, 2019
1 parent e07fc69 commit 7f4f52f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fml/synchronization/count_down_latch.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef FLUTTER_FML_SYNCHRONIZATION_COUNT_DOWN_LATCH_H_
#define FLUTTER_FML_SYNCHRONIZATION_COUNT_DOWN_LATCH_H_

#include <atomic>

#include "flutter/fml/macros.h"
Expand All @@ -27,3 +30,5 @@ class CountDownLatch {
};

} // namespace fml

#endif // FLUTTER_FML_SYNCHRONIZATION_COUNT_DOWN_LATCH_H_

0 comments on commit 7f4f52f

Please sign in to comment.