From 5bb41f0a467de787addc644065e3cbd3af5daf0c Mon Sep 17 00:00:00 2001 From: Ben Kuper Date: Sat, 22 Jun 2024 22:44:20 +0200 Subject: [PATCH] fix double declaration getBool() --- modules/juce_osc/osc/juce_OSCArgument.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_osc/osc/juce_OSCArgument.h b/modules/juce_osc/osc/juce_OSCArgument.h index cf1b10edf4..7b29e12e22 100644 --- a/modules/juce_osc/osc/juce_OSCArgument.h +++ b/modules/juce_osc/osc/juce_OSCArgument.h @@ -158,7 +158,7 @@ public: /** Returns the value of the OSCArgument as a boolean. If the type of the OSCArgument is not T or F, the behaviour is undefined. */ - bool getBool() const noexcept { return type == OSCTypes::T; } + bool getBool() const noexcept; private: //==============================================================================