diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-28 09:46:59 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-28 09:46:59 -0400 |
commit | 7fec9910775f6ecb2ec15c145846086edf5a1df5 (patch) | |
tree | 1b0b391393483fe549b6e218b66fc66dfe0c44af /libs/ardour/ardour/port_engine.h | |
parent | fe14092d57a137bc6613046062f74307d05f709a (diff) |
fix thinko in declaration of ARDOUR::PortEngine::get_port_by_name()
Diffstat (limited to 'libs/ardour/ardour/port_engine.h')
-rw-r--r-- | libs/ardour/ardour/port_engine.h | 5 |
1 files changed, 3 insertions, 2 deletions
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, |