Fix for clang

This commit is contained in:
xenakios 2018-02-23 21:12:16 +02:00
parent a988086ec6
commit 101825df59

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))
{