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 BESTRESULTS_H
#define BESTRESULTS_H
#pragma once
#include <string>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
@@ -34,4 +34,3 @@ namespace platform {
int maxDatasetName = 0;
};
}
#endif //BESTRESULTS_H

View File

@@ -1,5 +1,5 @@
#ifndef BESTRESULTS_EXCEL_H
#define BESTRESULTS_EXCEL_H
#pragma once
#include <vector>
#include <map>
#include <nlohmann/json.hpp>
@@ -34,4 +34,3 @@ namespace platform {
int datasetNameSize = 25; // Min size of the column
};
}
#endif //BESTRESULTS_EXCEL_H

View File

@@ -1,5 +1,5 @@
#ifndef BESTSCORE_H
#define BESTSCORE_H
#pragma once
#include <string>
#include <map>
#include <utility>
@@ -24,5 +24,3 @@ namespace platform {
}
};
}
#endif

View File

@@ -1,5 +1,5 @@
#ifndef STATISTICS_H
#define STATISTICS_H
#pragma once
#include <iostream>
#include <vector>
#include <map>
@@ -60,4 +60,3 @@ namespace platform {
std::map<std::string, std::map<std::string, float>> ranksModels;
};
}
#endif // !STATISTICS_H