made header guards follow the google c++ standards and switched to the #ifndef style instead of using pragmas

This commit is contained in:
Ben
2019-01-02 20:23:08 +00:00
parent 9534207f03
commit 5d39d47633
19 changed files with 72 additions and 22 deletions

View File

@@ -1,4 +1,5 @@
#pragma once
#ifndef _INCLUDE_COLOUR_H_
#define _INCLUDE_COLOUR_H_
#include <string>
#include <sstream>
@@ -61,3 +62,5 @@ public:
std::cout << "\033[" << colour << "m";
}
};
#endif

View File

@@ -1,4 +1,5 @@
#pragma once
#ifndef _INCLUDE_LOGGER_H_
#define _INCLUDE_LOGGER_H_
#include <time.h>
#include <colour.h>
@@ -70,3 +71,5 @@ private:
return stream.str();
}
};
#endif