From dbc12e8ba38739b7c560da2f256642b949e47ff7 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 7 Sep 2013 15:40:06 +0100 Subject: [PATCH] Cleanup --- source/modules/lv2_rdf.hpp | 7 ------- source/utils/CarlaJuceUtils.hpp | 8 -------- 2 files changed, 15 deletions(-) diff --git a/source/modules/lv2_rdf.hpp b/source/modules/lv2_rdf.hpp index a281efe9f..fd33c8960 100644 --- a/source/modules/lv2_rdf.hpp +++ b/source/modules/lv2_rdf.hpp @@ -553,12 +553,7 @@ struct LV2_RDF_Descriptor { LV2_RDF_UI* UIs; LV2_RDF_Descriptor() noexcept -#ifdef CARLA_PROPER_CPP11_SUPPORT - : Type{0x0}, - URI(nullptr), -#else : URI(nullptr), -#endif Name(nullptr), Author(nullptr), License(nullptr), @@ -576,9 +571,7 @@ struct LV2_RDF_Descriptor { UICount(0), UIs(nullptr) { -#ifndef CARLA_PROPER_CPP11_SUPPORT Type[0] = Type[1] = 0x0; -#endif } ~LV2_RDF_Descriptor() diff --git a/source/utils/CarlaJuceUtils.hpp b/source/utils/CarlaJuceUtils.hpp index 6f0105aaa..57b084d9e 100644 --- a/source/utils/CarlaJuceUtils.hpp +++ b/source/utils/CarlaJuceUtils.hpp @@ -22,14 +22,6 @@ #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 \ JUCE_PREVENT_HEAP_ALLOCATION