diff --git a/Source/PS_Source/globals.h b/Source/PS_Source/globals.h index 40461cc..cfb8eb9 100644 --- a/Source/PS_Source/globals.h +++ b/Source/PS_Source/globals.h @@ -74,6 +74,8 @@ const int g_maxnumoutchans = 32; template inline bool hasProperties(ValueTree src, Args&&... args) { + if (sizeof...(args) == 0) + return false; return (src.hasProperty(args) && ...); }