summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Islam <samiul@google.com>2019-06-21 09:27:49 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-06-21 09:27:49 +0000
commit99087decb9c9bb63ea20e18f6fa5ccbcefe8cf2b (patch)
treed12c8b5f90fd01d6e5d4bfc7f0a4369b17451715
parent4f2048d370096d61a4d08d9da76f84aeefeccd05 (diff)
parent9f24c38fe3119d0f620bd8efc3a31fb596e09a65 (diff)
Merge "Prevent definitions of expected.h from being included twice"
-rw-r--r--base/include/android-base/expected.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/include/android-base/expected.h b/base/include/android-base/expected.h
index 08c9fb50d..957a8a000 100644
--- a/base/include/android-base/expected.h
+++ b/base/include/android-base/expected.h
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#pragma once
+
#include <algorithm>
#include <initializer_list>
#include <type_traits>