Skip to content

Commit

Permalink
fix: Compilation errors on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
madskjeldgaard committed Mar 13, 2024
1 parent d675083 commit 60b4ed9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ void PluginProcessor::setStateChangeCallbacks()
{
DBG ("State changed: " + whatChanged.toString() + " " + state.getType().toString() + " chan" + juce::String (chanNum));
auto pathFallbackValue = juce::String ("/" + juce::String (chanNum) + "/value");
auto newPath = state.getProperty (pathIdentifier, pathFallbackValue);
auto newPath = state.getProperty (pathIdentifier, pathFallbackValue).toString();
auto newInMin = state.getProperty (inMinIdentifier, 0.0f);
auto newInMax = state.getProperty (inMaxIdentifier, 1.0f);

Expand Down
6 changes: 3 additions & 3 deletions source/gui/OSCBridgeChannelEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ class OSCBridgeChannelEditor : public juce::Component
pathEditor.setText (path);
}

void setInMin (auto min)
void setInMin (float min)
{
inputMinEditor.setText (juce::String (min));
}

void setInMax (auto max)
void setInMax (float max)
{
inputMaxEditor.setText (juce::String (max));
}
Expand Down Expand Up @@ -95,7 +95,7 @@ class OSCBridgeChannelEditor : public juce::Component
activityIndicator.addValue (chan.getNormalizedValue());
}

void addActivity (auto newValue)
void addActivity (float newValue)
{
activityIndicator.addValue (newValue);
}
Expand Down

0 comments on commit 60b4ed9

Please sign in to comment.