diff options
author | Christopher Ferris <cferris@google.com> | 2022-04-20 17:15:38 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2022-04-20 17:21:11 -0700 |
commit | 0cd3943fb8857eba64f8590fd6137648f3fcb198 (patch) | |
tree | d7791735cd60241ffb1584d4e6843cd6c86a34a0 /libunwindstack/MemoryBuffer.h | |
parent | 215644709bd7bbda4c05a9db4d55e96be61bcf64 (diff) | |
download | unwinding-0cd3943fb8857eba64f8590fd6137648f3fcb198.tar.gz |
Use #pragma once header guard.
Move to using the #pragma once header guard instead of the #ifndef
construct since it's cleaner.
Test: Compiles.
Change-Id: I0bd76b53cfc78df7465029ef34783f85651a9c74
Diffstat (limited to 'libunwindstack/MemoryBuffer.h')
-rw-r--r-- | libunwindstack/MemoryBuffer.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libunwindstack/MemoryBuffer.h b/libunwindstack/MemoryBuffer.h index 24609f4..a5b5743 100644 --- a/libunwindstack/MemoryBuffer.h +++ b/libunwindstack/MemoryBuffer.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef _LIBUNWINDSTACK_MEMORY_BUFFER_H -#define _LIBUNWINDSTACK_MEMORY_BUFFER_H +#pragma once #include <stdint.h> @@ -56,5 +55,3 @@ class MemoryBuffer : public Memory { }; } // namespace unwindstack - -#endif // _LIBUNWINDSTACK_MEMORY_BUFFER_H |