From 941a94d9ada5c2ce3f70d2d42d27bb61d76db7ae Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Thu, 28 Feb 2019 08:38:47 -0600 Subject: [PATCH] never assume that syntax from github suggestions is correct --- trick_source/sim_services/DataRecord/DataRecordGroup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/sim_services/DataRecord/DataRecordGroup.cpp b/trick_source/sim_services/DataRecord/DataRecordGroup.cpp index 1706a710..4a36939e 100644 --- a/trick_source/sim_services/DataRecord/DataRecordGroup.cpp +++ b/trick_source/sim_services/DataRecord/DataRecordGroup.cpp @@ -695,7 +695,7 @@ int Trick::DataRecordGroup::write_data(bool must_write) { } if(!max_size_warning && (total_bytes_written > max_file_size)) { - std::cerr << "WARNING: Data record max file size " << (static_cast(max_file_size)/(1<<20) << "MB reached.\n" + std::cerr << "WARNING: Data record max file size " << (static_cast(max_file_size))/(1<<20) << "MB reached.\n" "https://github.com/nasa/trick/wiki/Data-Record#changing-the-max-file-size-of-a-data-record-group-ascii-and-binary-only" << std::endl; max_size_warning = true;