diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-18 10:37:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-18 10:38:17 +0100 |
| commit | a25cc3fda26e2bbc6b1c3786cc7f2ed7141a29f0 (patch) | |
| tree | 763e292124b43b8c652bb4d34eaae5e14e8236f6 /src/stl_binary_writer.cc | |
| parent | 4f6f03dc72d9cd24f3e4b2d856c5ccb66bda3930 (diff) | |
Fix Time::add which was broken when adding times with different rates.
Diffstat (limited to 'src/stl_binary_writer.cc')
| -rw-r--r-- | src/stl_binary_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stl_binary_writer.cc b/src/stl_binary_writer.cc index 7ae7509..60adda4 100644 --- a/src/stl_binary_writer.cc +++ b/src/stl_binary_writer.cc @@ -179,7 +179,7 @@ sub::write_stl_binary ( for (list<Block>::const_iterator k = j->blocks.begin(); k != j->blocks.end(); ++k) { t += k->text.size (); } - longest = max (longest, t); + longest = std::max (longest, t); } } |
