From f9e80f23a1e4e9c67d81b93c1801fe4b4d14996a Mon Sep 17 00:00:00 2001 From: Rapturate Date: Sat, 28 Feb 2026 13:21:05 -0500 Subject: [PATCH] Switched from the bulky style of header safety to the 'pragma once' style --- graph.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/graph.h b/graph.h index 35571d1..c52d073 100644 --- a/graph.h +++ b/graph.h @@ -1,5 +1,4 @@ -#ifndef GRAPH_H -#define GRAPH_H +#pragma once #include #include @@ -36,6 +35,4 @@ public: //Preventing mem-spikes by preventing copying and enforcing deletions. Graph(const Graph&) = delete; Graph& operator=(const Graph&) = delete; -}; - -#endif \ No newline at end of file +}; \ No newline at end of file