Skip to content

Commit

Permalink
GO FORMAT YOURSELF (clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
cow-bot committed Nov 23, 2021
1 parent 68d4092 commit dedc470
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/WriterModule/f142/f142_Writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,14 +373,16 @@ void f142_Writer::register_meta_data(hdf5::node::Group const &HDFGroup,
const MetaData::TrackerPtr &Tracker) {

if (MetaData.getValue()) {
MetaDataMin = MetaData::Value<double>(HDFGroup, "minimum_value", MetaData::basicDatasetWriter<double>);
MetaDataMin = MetaData::Value<double>(HDFGroup, "minimum_value",
MetaData::basicDatasetWriter<double>);
Tracker->registerMetaData(MetaDataMin);

MetaDataMax = MetaData::Value<double>(HDFGroup, "maximum_value", MetaData::basicDatasetWriter<double>);
MetaDataMax = MetaData::Value<double>(HDFGroup, "maximum_value",
MetaData::basicDatasetWriter<double>);
Tracker->registerMetaData(MetaDataMax);

MetaDataMean =
MetaData::Value<double>(HDFGroup, "average_value", MetaData::basicDatasetWriter<double>);
MetaDataMean = MetaData::Value<double>(
HDFGroup, "average_value", MetaData::basicDatasetWriter<double>);
Tracker->registerMetaData(MetaDataMean);
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/WriterModule/f142/f142_Writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class f142_Writer : public WriterModule::Base {
void write(FlatbufferMessage const &Message) override;

f142_Writer()
: WriterModule::Base(false, "NXlog"), MetaDataMin("", "minimum_value"),
MetaDataMax("", "maximum_value"), MetaDataMean("", "average_value") {}
: WriterModule::Base(false, "NXlog"), MetaDataMin("", "minimum_value"),
MetaDataMax("", "maximum_value"), MetaDataMean("", "average_value") {}
~f142_Writer() override = default;

enum class Type {
Expand Down

0 comments on commit dedc470

Please sign in to comment.