From 9e613ae8a3cd7994194d2d709f6ff9b88feac70b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 31 Oct 2020 22:44:28 +0100 Subject: Add Data class and change API to a raw pointer. --- benchmark/j2k_transcode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark') diff --git a/benchmark/j2k_transcode.cc b/benchmark/j2k_transcode.cc index 7bdf357d..cd1bd52a 100644 --- a/benchmark/j2k_transcode.cc +++ b/benchmark/j2k_transcode.cc @@ -110,6 +110,6 @@ main (int argc, char* argv[]) cout << "Compress: " << count / compress.get() << " fps.\n"; FILE* f = fopen ("check.j2c", "wb"); - fwrite (recomp.data().get(), 1, recomp.size(), f); + fwrite (recomp.data(), 1, recomp.size(), f); fclose (f); } -- cgit v1.2.3