From 30a6b323b4cc0ab11883a313ba21a319306816b2 Mon Sep 17 00:00:00 2001 From: liyuqian Date: Thu, 30 May 2019 14:17:08 -0700 Subject: [PATCH] Add missing ifndef guard for count_down_latch.h (flutter/engine#9143) I discovered this while experimenting with the timing API. --- engine/src/flutter/fml/synchronization/count_down_latch.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/src/flutter/fml/synchronization/count_down_latch.h b/engine/src/flutter/fml/synchronization/count_down_latch.h index 2036e82a3f..4fd4377a0d 100644 --- a/engine/src/flutter/fml/synchronization/count_down_latch.h +++ b/engine/src/flutter/fml/synchronization/count_down_latch.h @@ -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 #include "flutter/fml/macros.h" @@ -27,3 +30,5 @@ class CountDownLatch { }; } // namespace fml + +#endif // FLUTTER_FML_SYNCHRONIZATION_COUNT_DOWN_LATCH_H_