summaryrefslogtreecommitdiffstats
path: root/base/include/android-base/chrono_utils.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-06-26 17:17:41 -0700
committerElliott Hughes <enh@google.com>2018-06-26 17:17:41 -0700
commit4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1 (patch)
tree48a5fd2469e87ee8cf69f9536d01030541d8f6c3 /base/include/android-base/chrono_utils.h
parent2aa50ff56df2da8854c4209751a5d88c936f3c9b (diff)
downloadsystem_core-4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1.tar.gz
system_core-4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1.tar.bz2
system_core-4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1.zip
libbase: switch to #pragma once.
Bug: N/A Test: builds Change-Id: I125498ac4257ac4e901c6f2a5f1bfac1432d859d
Diffstat (limited to 'base/include/android-base/chrono_utils.h')
-rw-r--r--base/include/android-base/chrono_utils.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/base/include/android-base/chrono_utils.h b/base/include/android-base/chrono_utils.h
index b7647f22c..11fcf710e 100644
--- a/base/include/android-base/chrono_utils.h
+++ b/base/include/android-base/chrono_utils.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef ANDROID_BASE_CHRONO_UTILS_H
-#define ANDROID_BASE_CHRONO_UTILS_H
+#pragma once
#include <chrono>
#include <sstream>
@@ -52,5 +51,3 @@ std::ostream& operator<<(std::ostream& os, const Timer& t);
} // namespace base
} // namespace android
-
-#endif // ANDROID_BASE_CHRONO_UTILS_H