aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-03-06 17:48:55 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-03-19 14:41:51 +0000
commit8695c3a693849bf6ebd3c6d0620f03bcc6429604 (patch)
tree6fce789ddf079df35e0bbc4efc95d862c875f865 /gdbsupport
parent7d18eb9983b00455fd2f3100d4de2772c3f656ad (diff)
downloadgdb-8695c3a693849bf6ebd3c6d0620f03bcc6429604.zip
gdb-8695c3a693849bf6ebd3c6d0620f03bcc6429604.tar.gz
gdb-8695c3a693849bf6ebd3c6d0620f03bcc6429604.tar.bz2
gdbsupport: rename include guard in gdb-checked-static-cast.h
I noticed in passing that the include guard in the file gdbsupport/gdb-checked-static-cast.h was wrong, it includes the word DYNAMIC when STATIC would be better, fixed in this commit. There should be no user visible changes after this commit.
Diffstat (limited to 'gdbsupport')
-rw-r--r--gdbsupport/gdb-checked-static-cast.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdbsupport/gdb-checked-static-cast.h b/gdbsupport/gdb-checked-static-cast.h
index 24fa7a4..97843fa 100644
--- a/gdbsupport/gdb-checked-static-cast.h
+++ b/gdbsupport/gdb-checked-static-cast.h
@@ -15,8 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef COMMON_GDB_CHECKED_DYNAMIC_CAST_H
-#define COMMON_GDB_CHECKED_DYNAMIC_CAST_H
+#ifndef COMMON_GDB_CHECKED_STATIC_CAST_H
+#define COMMON_GDB_CHECKED_STATIC_CAST_H
#include "gdbsupport/traits.h"
@@ -80,4 +80,4 @@ checked_static_cast (V &v)
}
-#endif /* COMMON_GDB_CHECKED_DYNAMIC_CAST_H */
+#endif /* COMMON_GDB_CHECKED_STATIC_CAST_H */