diff --git a/src/ActivityIndicator.cpp b/src/ActivityIndicator.cpp index 03fd703..6db74f2 100644 --- a/src/ActivityIndicator.cpp +++ b/src/ActivityIndicator.cpp @@ -2,6 +2,8 @@ #include "imgui.h" +#include + void mc::ActivityIndicator::render() const { constexpr double fade_time_ms = 1000; diff --git a/src/midi/InputNode.cpp b/src/midi/InputNode.cpp index 2561558..95d34c3 100644 --- a/src/midi/InputNode.cpp +++ b/src/midi/InputNode.cpp @@ -50,7 +50,7 @@ std::string_view mc::midi::InputNode::name() return m_info.m_name; } -void mc::midi::InputNode::message_callback(double time_stamp, +void mc::midi::InputNode::message_callback(double /*time_stamp*/, std::vector* message, void* user_data) { @@ -61,7 +61,7 @@ void mc::midi::InputNode::message_callback(double time_stam void mc::midi::InputNode::error_callback(RtMidiError::Type error_code, const std::string& message, - void* user_data) + void* /*user_data*/) { spdlog::error("Error {} occured in MIDI input: \"{}\"", static_cast(error_code), message); } diff --git a/src/midi/MidiGraph.cpp b/src/midi/MidiGraph.cpp index eec4571..59dfd95 100644 --- a/src/midi/MidiGraph.cpp +++ b/src/midi/MidiGraph.cpp @@ -21,7 +21,7 @@ Node::~Node() m_receiver_connections.clear(); } -bool Node::process(data_span data) +bool Node::process(data_span /*data*/) { return true; } diff --git a/src/midi/OutputNode.cpp b/src/midi/OutputNode.cpp index c4851fa..118693f 100644 --- a/src/midi/OutputNode.cpp +++ b/src/midi/OutputNode.cpp @@ -51,7 +51,7 @@ std::string_view mc::midi::OutputNode::name() void mc::midi::OutputNode::error_callback(RtMidiError::Type error_code, const std::string& message, - void* user_data) + void* /*user_data*/) { spdlog::error("Error {} occured in MIDI output: \"{}\"", static_cast(error_code), message); }