From 7fec9910775f6ecb2ec15c145846086edf5a1df5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Oct 2013 09:46:59 -0400 Subject: fix thinko in declaration of ARDOUR::PortEngine::get_port_by_name() --- libs/ardour/ardour/port_engine.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour/port_engine.h') diff --git a/libs/ardour/ardour/port_engine.h b/libs/ardour/ardour/port_engine.h index 8c0ec9e754..68f8fe1232 100644 --- a/libs/ardour/ardour/port_engine.h +++ b/libs/ardour/ardour/port_engine.h @@ -117,10 +117,11 @@ class PortEngine { * does not exist, return an empty string. */ virtual std::string get_port_name (PortHandle) const = 0; + /** Return a reference to a port with the fullname @param name. Return - * a null pointer if no such port exists. + * an "empty" PortHandle (analogous to a null pointer) if no such port exists. */ - virtual PortHandle* get_port_by_name (const std::string&) const = 0; + virtual PortHandle get_port_by_name (const std::string&) const = 0; /** Find the set of ports whose names, types and flags match * specified values, place the names of each port into @param ports, -- cgit v1.2.3