refactor(opatIO-and-meshIO): removed unused header file includes

This commit is contained in:
2025-03-20 14:30:40 -04:00
parent cb5ac274dc
commit ecbdba5216
4 changed files with 3 additions and 4 deletions

View File

@@ -26,7 +26,7 @@
#include "meshIO.h" #include "meshIO.h"
MeshIO::MeshIO(const std::string &mesh_file) MeshIO::MeshIO(const std::string mesh_file)
{ {
mesh_file_ = mesh_file; mesh_file_ = mesh_file;
std::ifstream mesh_stream(mesh_file); std::ifstream mesh_stream(mesh_file);

View File

@@ -39,7 +39,7 @@ public:
* @brief Constructor that initializes the MeshIO object with a mesh file. * @brief Constructor that initializes the MeshIO object with a mesh file.
* @param mesh_file The name of the mesh file. * @param mesh_file The name of the mesh file.
*/ */
MeshIO(const std::string &mesh_file); MeshIO(const std::string mesh_file);
/** /**
* @brief Destructor for the MeshIO class. * @brief Destructor for the MeshIO class.

View File

@@ -56,7 +56,7 @@ T swap_bytes(T value) {
// Constructor // Constructor
OpatIO::OpatIO() {} OpatIO::OpatIO() {}
OpatIO::OpatIO(std::string filename) : filename(filename) { OpatIO::OpatIO(const std::string filename) : filename(filename) {
load(); load();
} }

View File

@@ -21,7 +21,6 @@
#ifndef OPATIO_H #ifndef OPATIO_H
#define OPATIO_H #define OPATIO_H
#include <iostream>
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <vector> #include <vector>