File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424namespace 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
You can’t perform that action at this time.
0 commit comments