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 EXCELFILE_H
#define EXCELFILE_H
#pragma once
#include <locale>
#include <string>
#include <map>
@@ -42,4 +42,3 @@ namespace platform {
void setDefault();
};
}
#endif // !EXCELFILE_H

View File

@@ -1,5 +1,5 @@
#ifndef REPORTBASE_H
#define REPORTBASE_H
#pragma once
#include <string>
#include <iostream>
#include <nlohmann/json.hpp>
@@ -33,4 +33,3 @@ namespace platform {
bool existBestFile = true;
};
};
#endif

View File

@@ -1,5 +1,5 @@
#ifndef REPORTCONSOLE_H
#define REPORTCONSOLE_H
#pragma once
#include <string>
#include "common/Colors.h"
#include "ReportBase.h"
@@ -19,4 +19,3 @@ namespace platform {
void showSummary() override;
};
};
#endif

View File

@@ -1,5 +1,5 @@
#ifndef REPORTEXCEL_H
#define REPORTEXCEL_H
#pragma once
#include <map>
#include <xlsxwriter.h>
#include "common/Colors.h"
@@ -22,4 +22,3 @@ namespace platform {
void header_notes(int row);
};
};
#endif // !REPORTEXCEL_H