Civilized code doesn't use global variables accessed via extern
This commit is contained in:
parent
f71f437d3e
commit
4f203de39a
@ -21,6 +21,8 @@
|
||||
#include <memory>
|
||||
#include "../JuceLibraryCode/JuceHeader.h"
|
||||
|
||||
const String g_plugintitle{ "PaulXStretch 1.2.2" };
|
||||
|
||||
using REALTYPE = float;
|
||||
|
||||
using floatvector = std::vector<REALTYPE>;
|
||||
|
@ -21,8 +21,6 @@ www.gnu.org/licenses
|
||||
#include <array>
|
||||
#include "RenderSettingsComponent.h"
|
||||
|
||||
extern String g_plugintitle;
|
||||
|
||||
//==============================================================================
|
||||
PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(PaulstretchpluginAudioProcessor& p)
|
||||
: AudioProcessorEditor(&p),
|
||||
|
@ -25,8 +25,6 @@ www.gnu.org/licenses
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
String g_plugintitle{ "PaulXStretch 1.2.2" };
|
||||
|
||||
int get_optimized_updown(int n, bool up) {
|
||||
int orig_n = n;
|
||||
while (true) {
|
||||
|
Loading…
Reference in New Issue
Block a user