From 89d1f5f6e06642a56cca6cb91d7cabfdac7cc942 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 22 Apr 2023 10:01:39 +0200 Subject: [PATCH] u01: Switch from include guards to pragma once --- u01/node.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/u01/node.h b/u01/node.h index 6d15ef4..34db8e2 100644 --- a/u01/node.h +++ b/u01/node.h @@ -1,5 +1,5 @@ -#ifndef _NODE_H -#define _NODE_H +#pragma once + #include #include #include @@ -21,4 +21,3 @@ private: }; node *create_complete_tree(std::size_t nr_child_nodes, unsigned int tree_depth); -#endif