Browse Source

Fix for clang

tags/1.0.2^0
xenakios 7 years ago
parent
commit
101825df59
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Source/PS_Source/globals.h

+ 1
- 1
Source/PS_Source/globals.h View File

@@ -142,7 +142,7 @@ inline void getFromTreeProperties(ValueTree src, juce::Identifier varname, Range
template<typename T>
inline void getFromTreeProperties(ValueTree src, T par)
{
static_assert(std::is_base_of<AudioProcessorParameterWithID,std::remove_pointer<T>::type>::value,
static_assert(std::is_base_of<AudioProcessorParameterWithID,typename std::remove_pointer<T>::type>::value,
"T must inherit from AudioProcessorParameterWithID");
if (par!=nullptr && src.hasProperty(par->paramID))
{


Loading…
Cancel
Save