Switched from the bulky style of header safety to the 'pragma once' style
This commit is contained in:
7
graph.h
7
graph.h
@@ -1,5 +1,4 @@
|
|||||||
#ifndef GRAPH_H
|
#pragma once
|
||||||
#define GRAPH_H
|
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
@@ -36,6 +35,4 @@ public:
|
|||||||
//Preventing mem-spikes by preventing copying and enforcing deletions.
|
//Preventing mem-spikes by preventing copying and enforcing deletions.
|
||||||
Graph(const Graph&) = delete;
|
Graph(const Graph&) = delete;
|
||||||
Graph& operator=(const Graph&) = delete;
|
Graph& operator=(const Graph&) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user