From 4ef41be9596cf997cd80175cfc7de2074a182d0d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 15:20:45 +0200 Subject: Use auto with casts and allocations to remove redundancy --- tests/ingen_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index 605b25fc..ec417978 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -145,7 +145,7 @@ main(int argc, char** argv) reinterpret_cast(run_path.c_str()), nullptr, &cmds_base, true); - Sord::Model* cmds = + auto* cmds = new Sord::Model(*world->rdf_world(), reinterpret_cast(cmds_file_uri.buf)); -- cgit v1.2.1