diff vamp-support/DefaultPluginOutputIdMapper.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
line wrap: on
line diff
--- a/vamp-support/DefaultPluginOutputIdMapper.h	Thu Nov 01 14:04:58 2018 +0000
+++ b/vamp-support/DefaultPluginOutputIdMapper.h	Mon Nov 26 13:39:01 2018 +0000
@@ -49,7 +49,7 @@
 	}
     }
 
-    virtual int idToIndex(std::string outputId) const noexcept {
+    int idToIndex(std::string outputId) const noexcept override {
 	int n = int(m_ids.size());
 	for (int i = 0; i < n; ++i) {
 	    if (outputId == m_ids[i]) {
@@ -59,7 +59,7 @@
 	return -1;
     }
 
-    virtual std::string indexToId(int index) const noexcept {
+    std::string indexToId(int index) const noexcept override {
         if (index < 0 || size_t(index) >= m_ids.size()) return "";
 	return m_ids[index];
     }