@@ -553,12 +553,7 @@ struct LV2_RDF_Descriptor { | |||||
LV2_RDF_UI* UIs; | LV2_RDF_UI* UIs; | ||||
LV2_RDF_Descriptor() noexcept | LV2_RDF_Descriptor() noexcept | ||||
#ifdef CARLA_PROPER_CPP11_SUPPORT | |||||
: Type{0x0}, | |||||
URI(nullptr), | |||||
#else | |||||
: URI(nullptr), | : URI(nullptr), | ||||
#endif | |||||
Name(nullptr), | Name(nullptr), | ||||
Author(nullptr), | Author(nullptr), | ||||
License(nullptr), | License(nullptr), | ||||
@@ -576,9 +571,7 @@ struct LV2_RDF_Descriptor { | |||||
UICount(0), | UICount(0), | ||||
UIs(nullptr) | UIs(nullptr) | ||||
{ | { | ||||
#ifndef CARLA_PROPER_CPP11_SUPPORT | |||||
Type[0] = Type[1] = 0x0; | Type[0] = Type[1] = 0x0; | ||||
#endif | |||||
} | } | ||||
~LV2_RDF_Descriptor() | ~LV2_RDF_Descriptor() | ||||
@@ -22,14 +22,6 @@ | |||||
#include "juce_core.h" | #include "juce_core.h" | ||||
#define juce_foreach(type, array) \ | |||||
type* iter = array.getRawDataPointer(); \ | |||||
for (int _i=0, _size=array.size(); _i < _size; ++_i, ++iter) | |||||
#define juce_foreach_const(type, array) \ | |||||
const type* iter = array.getRawDataPointer(); \ | |||||
for (int _i=0, _size=array.size(); _i < _size; ++_i, ++iter) | |||||
#define CARLA_PREVENT_HEAP_ALLOCATION \ | #define CARLA_PREVENT_HEAP_ALLOCATION \ | ||||
JUCE_PREVENT_HEAP_ALLOCATION | JUCE_PREVENT_HEAP_ALLOCATION | ||||