Replace #define ... with pragma once

This commit is contained in:
2024-03-10 12:50:35 +01:00
parent 51f32113c0
commit 0010c840d1
33 changed files with 84 additions and 111 deletions

View File

@@ -1,5 +1,5 @@
#ifndef GRIDDATA_H
#define GRIDDATA_H
#pragma once
#include <string>
#include <vector>
#include <map>
@@ -23,4 +23,3 @@ namespace platform {
std::map<std::string, json> grid;
};
} /* namespace platform */
#endif /* GRIDDATA_H */

View File

@@ -1,5 +1,5 @@
#ifndef GRIDSEARCH_H
#define GRIDSEARCH_H
#pragma once
#include <string>
#include <map>
#include <mpi.h>
@@ -57,4 +57,3 @@ namespace platform {
Timer timer; // used to measure the time of the whole process
};
} /* namespace platform */
#endif /* GRIDSEARCH_H */