Browse Source

Handle corner case in hasProperties

tags/1.1.0
xenakios 7 years ago
parent
commit
13d03ecaeb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      Source/PS_Source/globals.h

+ 2
- 0
Source/PS_Source/globals.h View File

@@ -74,6 +74,8 @@ const int g_maxnumoutchans = 32;
template<typename... Args>
inline bool hasProperties(ValueTree src, Args&&... args)
{
if (sizeof...(args) == 0)
return false;
return (src.hasProperty(args) && ...);
}



Loading…
Cancel
Save