made header guards follow the google c++ standards and switched to the #ifndef style instead of using pragmas
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user