Skip to content

Commit ba00569

Browse files
committed
Remove some variable initializers to avoid compiler errors on gcc 4.6 (Ubuntu 14.02LTS)
1 parent 87c2aad commit ba00569

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Source/Processors/DataThreads/RhythmNode/RHD2000Editor.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,9 @@ ClockDivideInterface::ClockDivideInterface(RHD2000Thread* board_,
14401440
RHD2000Editor* editor_) :
14411441
board(board_)
14421442
, editor(editor_)
1443+
, name("Clock Divider")
1444+
, lastDivideRatioString("1")
1445+
, actualDivideRatio(1)
14431446

14441447
{
14451448
divideRatioSelection = new Label("Clock Divide", lastDivideRatioString);

Source/Processors/DataThreads/RhythmNode/RHD2000Editor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,14 +387,14 @@ class ClockDivideInterface : public Component,
387387

388388
private:
389389

390-
String name {"Clock Divider"};
391-
String lastDivideRatioString {"1"};
390+
String name;
391+
String lastDivideRatioString;
392392

393393
RHD2000Thread * board;
394394
RHD2000Editor * editor;
395395

396396
ScopedPointer<Label> divideRatioSelection;
397-
int actualDivideRatio {1};
397+
int actualDivideRatio;
398398

399399
};
400400
#endif // __RHD2000EDITOR_H_2AD3C591__

0 commit comments

Comments
 (0)