diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 15:20:45 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | 4ef41be9596cf997cd80175cfc7de2074a182d0d (patch) | |
tree | 33388d991953b7d1fae5a953e0fa08b545e99a41 /tests | |
parent | dbb38be5ccda387ef458583b5a85c03b59a5e05c (diff) | |
download | ingen-4ef41be9596cf997cd80175cfc7de2074a182d0d.tar.gz ingen-4ef41be9596cf997cd80175cfc7de2074a182d0d.tar.bz2 ingen-4ef41be9596cf997cd80175cfc7de2074a182d0d.zip |
Use auto with casts and allocations to remove redundancy
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ingen_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<const uint8_t*>(run_path.c_str()), nullptr, &cmds_base, true); - Sord::Model* cmds = + auto* cmds = new Sord::Model(*world->rdf_world(), reinterpret_cast<const char*>(cmds_file_uri.buf)); |