Mercurial > hg > piper-cpp
diff bits/PluginHandleMapper.h @ 40:55d69b26d4db
Pull out CountingPluginHandleMapper; consts
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 22 Aug 2016 17:16:44 +0100 |
parents | 2d97883d20df |
children | f4244a2d55ac |
line wrap: on
line diff
--- a/bits/PluginHandleMapper.h Mon Aug 22 17:16:23 2016 +0100 +++ b/bits/PluginHandleMapper.h Mon Aug 22 17:16:44 2016 +0100 @@ -49,8 +49,8 @@ NotFound() : runtime_error("plugin or handle not found in mapper") { } }; - virtual int32_t pluginToHandle(Vamp::Plugin *) = 0; // may throw NotFound - virtual Vamp::Plugin *handleToPlugin(int32_t) = 0; // may throw NotFound + virtual int32_t pluginToHandle(Vamp::Plugin *) const = 0; // may throw NotFound + virtual Vamp::Plugin *handleToPlugin(int32_t) const = 0; // may throw NotFound }; }