Mercurial > hg > piper-cpp
comparison vamp-support/CountingPluginHandleMapper.h @ 280:4b581a498981
Use override throughout
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 26 Nov 2018 13:39:01 +0000 |
parents | 427c4c725085 |
children |
comparison
equal
deleted
inserted
replaced
279:b7eec400cd94 | 280:4b581a498981 |
---|---|
56 | 56 |
57 void removePlugin(Handle h) { | 57 void removePlugin(Handle h) { |
58 m_sub.removePlugin(h); | 58 m_sub.removePlugin(h); |
59 } | 59 } |
60 | 60 |
61 Handle pluginToHandle(Vamp::Plugin *p) const noexcept { | 61 Handle pluginToHandle(Vamp::Plugin *p) const noexcept override { |
62 return m_sub.pluginToHandle(p); | 62 return m_sub.pluginToHandle(p); |
63 } | 63 } |
64 | 64 |
65 Vamp::Plugin *handleToPlugin(Handle h) const noexcept { | 65 Vamp::Plugin *handleToPlugin(Handle h) const noexcept override { |
66 return m_sub.handleToPlugin(h); | 66 return m_sub.handleToPlugin(h); |
67 } | 67 } |
68 | 68 |
69 const std::shared_ptr<PluginOutputIdMapper> pluginToOutputIdMapper | 69 const std::shared_ptr<PluginOutputIdMapper> pluginToOutputIdMapper |
70 (Vamp::Plugin *p) const noexcept { | 70 (Vamp::Plugin *p) const noexcept override { |
71 return m_sub.pluginToOutputIdMapper(p); | 71 return m_sub.pluginToOutputIdMapper(p); |
72 } | 72 } |
73 | 73 |
74 const std::shared_ptr<PluginOutputIdMapper> handleToOutputIdMapper | 74 const std::shared_ptr<PluginOutputIdMapper> handleToOutputIdMapper |
75 (Handle h) const noexcept { | 75 (Handle h) const noexcept override { |
76 return m_sub.handleToOutputIdMapper(h); | 76 return m_sub.handleToOutputIdMapper(h); |
77 } | 77 } |
78 | 78 |
79 bool isConfigured(Handle h) const noexcept { | 79 bool isConfigured(Handle h) const noexcept { |
80 return m_sub.isConfigured(h); | 80 return m_sub.isConfigured(h); |