diff options
Diffstat (limited to 'libunwindstack/benchmarks')
-rw-r--r-- | libunwindstack/benchmarks/MemoryLocalUnsafe.h | 5 | ||||
-rw-r--r-- | libunwindstack/benchmarks/Utils.h | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/libunwindstack/benchmarks/MemoryLocalUnsafe.h b/libunwindstack/benchmarks/MemoryLocalUnsafe.h index d901e1d..8edf473 100644 --- a/libunwindstack/benchmarks/MemoryLocalUnsafe.h +++ b/libunwindstack/benchmarks/MemoryLocalUnsafe.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef _LIBUNWINDSTACK_BENCHMARKS_MEMORY_LOCAL_UNSAFE_H -#define _LIBUNWINDSTACK_BENCHMARKS_MEMORY_LOCAL_UNSAFE_H +#pragma once #include <cstddef> #include <cstring> @@ -39,5 +38,3 @@ class MemoryLocalUnsafe : public Memory { }; } // namespace unwindstack - -#endif // _LIBUNWINDSTACK_BENCHMARKS_MEMORY_LOCAL_UNSAFE_H
\ No newline at end of file diff --git a/libunwindstack/benchmarks/Utils.h b/libunwindstack/benchmarks/Utils.h index e916525..2d05af9 100644 --- a/libunwindstack/benchmarks/Utils.h +++ b/libunwindstack/benchmarks/Utils.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef _LIBUNWINDSTACK_UTILS_H -#define _LIBUNWINDSTACK_UTILS_H +#pragma once #include <benchmark/benchmark.h> #include <stdint.h> @@ -66,5 +65,3 @@ class MemoryTracker { // total number of iterations of the ranged for loop across all runs of a single benchmark. size_t total_iterations_ = 0; }; - -#endif // _LIBUNWINDSTACK_UTILS_h |