Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adress CLang warnings #7

Merged
merged 1 commit into from Aug 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion extras/Build/CMake/JUCEUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,6 @@ function(_juce_set_plugin_target_properties shared_code_target kind)
VERBATIM)
else()
add_executable(${target_name}_lv2_ttl_generator ${JUCE_SOURCE_DIR}/extras/Build/lv2_ttl_generator/lv2_ttl_generator.c)
set_source_files_properties(${JUCE_SOURCE_DIR}/extras/Build/lv2_ttl_generator/lv2_ttl_generator.c PROPERTIES LANGUAGE CXX)
target_link_libraries(${target_name}_lv2_ttl_generator dl pthread)
add_custom_command(TARGET ${target_name} POST_BUILD
COMMAND ${target_name}_lv2_ttl_generator "./${lv2_shared_lib}.so"
Expand Down
10 changes: 5 additions & 5 deletions modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ class JuceLv2UIWrapper : public AudioProcessorListener,
//==============================================================================
// Juce calls

void audioProcessorParameterChanged (AudioProcessor*, int index, float newValue)
void audioProcessorParameterChanged (AudioProcessor*, int index, float newValue) override
{
if (inParameterChangedCallback.get())
{
Expand All @@ -592,7 +592,7 @@ class JuceLv2UIWrapper : public AudioProcessorListener,
}
}

void audioProcessorChanged (AudioProcessor*, const ChangeDetails& details)
void audioProcessorChanged (AudioProcessor*, const ChangeDetails& details) override
{
if (details.programChanged && filter != nullptr && programsHost != nullptr)
{
Expand All @@ -606,7 +606,7 @@ class JuceLv2UIWrapper : public AudioProcessorListener,
}
}

void audioProcessorParameterChangeGestureBegin (AudioProcessor*, int parameterIndex)
void audioProcessorParameterChangeGestureBegin (AudioProcessor*, int parameterIndex) override
{
if (uiTouch == nullptr)
return;
Expand All @@ -625,7 +625,7 @@ class JuceLv2UIWrapper : public AudioProcessorListener,
}
}

void audioProcessorParameterChangeGestureEnd (AudioProcessor*, int parameterIndex)
void audioProcessorParameterChangeGestureEnd (AudioProcessor*, int parameterIndex) override
{
if (uiTouch == nullptr)
return;
Expand Down Expand Up @@ -663,7 +663,7 @@ class JuceLv2UIWrapper : public AudioProcessorListener,
}
}

void timerCallback()
void timerCallback() override
{
if (externalUI != nullptr && externalUI->isClosed())
{
Expand Down