Adds ifndef to headers

This commit is contained in:
Suraxius committed 2020-12-03 22:14:30 +01:00
1 parent 4106c67326
commit 9125e64d09
7 files changed
+33 -3

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#ifndef API_HPP
#define API_HPP
class API;
#endif
+11
View File
@@ -0,0 +1,11 @@
#ifndef CLUSTER_HPP
#define CLUSTER_HPP
#include "Cluster.hpp"
class Cluster
{
public:
Cluster();
};
#endif
+4 -1
View File
@@ -1,6 +1,9 @@
#ifndef EVENT_BUS_HPP
#define EVENT_BUS_HPP
class EventBus {
public:
EventBus();
};
#endif
+2 -2
View File
@@ -1,5 +1,5 @@
#include <iostream>
//#include "resolver/Resolver.hpp"
#include "Resolver.hpp"
#include "EventBus.hpp"
int main(int args, char **argv) {
@@ -7,7 +7,7 @@ int main(int args, char **argv) {
using std::endl;
EventBus eventBus();
// Resolver resolver();
Resolver resolver();
cout << "Hello there!" << endl;
File renamed without changes.
+4
View File
@@ -1,3 +1,5 @@
#ifndef RESOLVER_HPP
#define RESOLVER_HPP
#include "EventBus.hpp"
class Resolver
@@ -5,3 +7,5 @@ class Resolver
public:
Resolver();
};
#endif
+6
View File
@@ -0,0 +1,6 @@
#ifndef STORAGE_HPP
#define STORAGE_HPP
#endif