diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-31 22:44:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-02 00:12:56 +0100 |
| commit | 9e613ae8a3cd7994194d2d709f6ff9b88feac70b (patch) | |
| tree | 40611aafec40f836ca23ef9b99093d526f9d43c1 /tools | |
| parent | da15bff6e278d351301c9c50a4c96737ae4b5545 (diff) | |
Add Data class and change API to a raw pointer.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dcpdumpsub.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dcpdumpsub.cc b/tools/dcpdumpsub.cc index 026b1a4d..5d6668af 100644 --- a/tools/dcpdumpsub.cc +++ b/tools/dcpdumpsub.cc @@ -137,7 +137,7 @@ main (int argc, char* argv[]) cerr << "Could not open font file " << i->first << ".ttf for writing"; exit (EXIT_FAILURE); } - fwrite (i->second.data().get(), 1, i->second.size(), f); + fwrite (i->second.data(), 1, i->second.size(), f); fclose (f); } } |
