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 EXPERIMENT_H
#define EXPERIMENT_H
#pragma once
#include <torch/torch.h>
#include <nlohmann/json.hpp>
#include <string>
@@ -42,5 +42,4 @@ namespace platform {
int nfolds{ 0 };
int max_name{ 7 }; // max length of dataset name for formatting (default 7)
};
}
#endif
}