Add and use new File class. merged-to-main
authorCarl Hetherington <cth@carlh.net>
Tue, 12 Apr 2022 20:34:04 +0000 (22:34 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 12 Apr 2022 20:34:04 +0000 (22:34 +0200)
commitc83f348adce3a18a9144ecfd73f4629cf060cc2a
tree5528c60440343b547c15f4a95aa6acd06453fafe
parent04e215a7688239cb47fc86e8396756c685f338a1
Add and use new File class.

It was always a bit troubling that fopen_boost wasn't exception safe,
and this also fixes a leak where load_ratings_list would never close
the ratings file.
16 files changed:
src/array_data.cc
src/data.cc
src/encrypted_kdm.cc
src/file.cc [new file with mode: 0644]
src/file.h [new file with mode: 0644]
src/interop_subtitle_asset.cc
src/language_tag.cc
src/mono_picture_frame.cc
src/rating.cc
src/util.cc
src/util.h
src/wscript
test/dcp_font_test.cc
test/test.cc
test/verify_test.cc
tools/dcpdumpsub.cc