From 0cd3943fb8857eba64f8590fd6137648f3fcb198 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Wed, 20 Apr 2022 17:15:38 -0700 Subject: 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 --- libunwindstack/DwarfCfa.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libunwindstack/DwarfCfa.h') diff --git a/libunwindstack/DwarfCfa.h b/libunwindstack/DwarfCfa.h index c4425bd..e9656e5 100644 --- a/libunwindstack/DwarfCfa.h +++ b/libunwindstack/DwarfCfa.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef _LIBUNWINDSTACK_DWARF_CFA_H -#define _LIBUNWINDSTACK_DWARF_CFA_H +#pragma once #include @@ -270,5 +269,3 @@ class DwarfCfa { }; } // namespace unwindstack - -#endif // _LIBUNWINDSTACK_DWARF_CFA_H -- cgit v1.2.3