Skip to content

Commit

Permalink
Fixed build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhjp01 committed Oct 7, 2024
1 parent b617ea7 commit 5cbe82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cosim/observer/file_observer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ class file_observer::slave_value_writer

private:
int keyWidth_ = 14;
int precision_ = -1;

template<typename T>
void write(const std::vector<T>& values, std::stringstream& ss)
Expand Down Expand Up @@ -357,6 +356,7 @@ class file_observer::slave_value_writer
std::atomic<bool> recording_ = true;
std::mutex mutex_;
bool timeStampedFileNames_ = true;
int precision_ = -1;
};

file_observer::file_observer(const cosim::filesystem::path& logDir, std::optional<file_observer_config> config)
Expand Down

0 comments on commit 5cbe82e

Please sign in to comment.