From 14cd32a043552d39738ae0e84e4ef8ab93783296 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Dec 2019 19:13:33 +0100 Subject: Cleanup: Use "auto" to avoid repeating type names --- src/server/DuplexPort.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/DuplexPort.cpp') diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index 22c7d29c..854ada02 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -93,7 +93,7 @@ DuplexPort::duplicate(Engine& engine, BufferFactory& bufs = *engine.buffer_factory(); const Atom polyphonic = get_property(bufs.uris().ingen_polyphonic); - DuplexPort* dup = new DuplexPort( + auto* dup = new DuplexPort( bufs, parent, symbol, _index, polyphonic.type() == bufs.uris().atom_Bool && polyphonic.get(), _type, _buffer_type, _buffer_size, -- cgit v1.2.1