Fix missed override declarations

This commit is contained in:
Phillip Stephens 2019-08-13 14:39:45 -07:00
parent 5cff0c19bd
commit 0121d355c4
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ struct PulseAudioVoiceEngine : LinuxMidi {
if (i) if (i)
userdata->m_sinks.push_back(std::make_pair(i->name, i->description)); userdata->m_sinks.push_back(std::make_pair(i->name, i->description));
} }
std::vector<std::pair<std::string, std::string>> enumerateAudioOutputs() const { std::vector<std::pair<std::string, std::string>> enumerateAudioOutputs() const override {
pa_operation* op = pa_context_get_sink_info_list(m_ctx, pa_sink_info_cb_t(_getSinkInfoListReply), (void*)this); pa_operation* op = pa_context_get_sink_info_list(m_ctx, pa_sink_info_cb_t(_getSinkInfoListReply), (void*)this);
_paIterate(op); _paIterate(op);
pa_operation_unref(op); pa_operation_unref(op);

View File

@ -510,7 +510,7 @@ public:
visualIdOut = screen->root_visual->visualid; visualIdOut = screen->root_visual->visualid;
} }
void destroy() { void destroy() override {
VulkanContext::Window& m_windowCtx = *m_ctx->m_windows[m_parentWindow]; VulkanContext::Window& m_windowCtx = *m_ctx->m_windows[m_parentWindow];
m_windowCtx.m_swapChains[0].destroy(m_ctx->m_dev); m_windowCtx.m_swapChains[0].destroy(m_ctx->m_dev);
m_windowCtx.m_swapChains[1].destroy(m_ctx->m_dev); m_windowCtx.m_swapChains[1].destroy(m_ctx->m_dev);