Browse Source

Cleanup

tags/1.9.4
falkTX 11 years ago
parent
commit
dbc12e8ba3
2 changed files with 0 additions and 15 deletions
  1. +0
    -7
      source/modules/lv2_rdf.hpp
  2. +0
    -8
      source/utils/CarlaJuceUtils.hpp

+ 0
- 7
source/modules/lv2_rdf.hpp View File

@@ -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()


+ 0
- 8
source/utils/CarlaJuceUtils.hpp View File

@@ -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



Loading…
Cancel
Save