Skip to content

Commit 6ab15ea

Browse files
committed
rename var
1 parent 1474718 commit 6ab15ea

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

export/include/fmu4cpp/fmu_base.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
namespace fmu4cpp {
2525

2626
struct fmu_data {
27-
logger *logger{nullptr};
28-
std::string instance_name{};
27+
logger *fmiLogger{nullptr};
28+
std::string instanceName{};
2929
std::filesystem::path resourceLocation{};
3030
};
3131

@@ -44,7 +44,7 @@ namespace fmu4cpp {
4444
fmu_base(const fmu_base &&) = delete;
4545

4646
[[nodiscard]] std::string instanceName() const {
47-
return data_.instance_name;
47+
return data_.instanceName;
4848
}
4949

5050
[[nodiscard]] const std::filesystem::path &resourceLocation() const {
@@ -206,8 +206,8 @@ namespace fmu4cpp {
206206
[[nodiscard]] std::string make_description_v3() const;
207207

208208
void log(const fmiStatus s, const std::string &message) const {
209-
if (data_.logger) {
210-
data_.logger->log(s, message);
209+
if (data_.fmiLogger) {
210+
data_.fmiLogger->log(s, message);
211211
}
212212
}
213213

0 commit comments

Comments
 (0)