never assume that syntax from github suggestions is correct

This commit is contained in:
Scott Fennell 2019-02-28 08:38:47 -06:00
parent 3965b87499
commit 941a94d9ad

View File

@ -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<double>(max_file_size)/(1<<20) << "MB reached.\n"
std::cerr << "WARNING: Data record max file size " << (static_cast<double>(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;