diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 14:09:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 14:09:03 +0200 |
commit | 62f5c3124b991abe9b9423a4908ca076079d5327 (patch) | |
tree | 661304a2e5920c1c77f4ce61e4852cabdb250e5f /src/server/events | |
parent | 019eeff6a7d051427ad62a288f350e66471a0462 (diff) | |
download | ingen-62f5c3124b991abe9b9423a4908ca076079d5327.tar.gz ingen-62f5c3124b991abe9b9423a4908ca076079d5327.tar.bz2 ingen-62f5c3124b991abe9b9423a4908ca076079d5327.zip |
Use auto with pointer casts to remove redundancy
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Copy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index a49fa3e4..dbe57dc0 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -144,7 +144,7 @@ bool Copy::engine_to_filesystem(PreProcessContext&) { // Ensure source is a graph - SPtr<GraphImpl> graph = std::dynamic_pointer_cast<GraphImpl>(_old_block); + auto graph = std::dynamic_pointer_cast<GraphImpl>(_old_block); if (!graph) { return Event::pre_process_done(Status::BAD_OBJECT_TYPE, _msg.old_uri); } |