Skip to content

Commit 54a4e19

Browse files
committed
Even more cmath and algo
1 parent 96e3749 commit 54a4e19

File tree

9 files changed

+9
-1
lines changed

9 files changed

+9
-1
lines changed

Src/DasherCore/AutoSpeedControl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
#include "AutoSpeedControl.h"
33

4+
#include <algorithm>
45
#include <cmath>
56

67
using namespace Dasher;

Src/DasherCore/DasherInterfaceBase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
// STL headers
4949
#include <sstream>
50+
#include <algorithm>
5051

5152
// Declare our global file logging object
5253

Src/DasherCore/FrameRate.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "FrameRate.h"
22
#include "DasherModel.h"
3+
#include <algorithm>
4+
#include <cmath>
35

46
using namespace Dasher;
57

Src/DasherCore/GameModule.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "GameStatistics.h"
66
#include <sstream>
7+
#include <cmath>
78

89
using namespace Dasher;
910

Src/DasherCore/LanguageModelling/CTWLanguageModel.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
//#include "stdafx.h"
2626
#include "CTWLanguageModel.h"
2727
#include <cstddef>
28-
#include <math.h> // not in use anymore? needed it for log
2928
#include <cstring>
3029
#include <cstdint>
3130
#include "HashTable.h"

Src/DasherCore/OneButtonFilter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "OneButtonFilter.h"
33

44
#include <I18n.h>
5+
#include <algorithm>
56

67
#include "DasherScreen.h"
78
#include "DasherModel.h"

Src/DasherCore/OneDimensionalFilter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "OneDimensionalFilter.h"
22
#include "CircleStartHandler.h"
33
#include <algorithm>
4+
#include <cmath>
45

56
using namespace Dasher;
67

Src/DasherCore/ScreenGameModule.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Dasher
33

44
#include "ScreenGameModule.h"
5+
#include <algorithm>
56

67
using namespace Dasher;
78

Src/DasherCore/UserLog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <algorithm>
44
#include <fstream>
55
#include <cstring>
6+
#include <cmath>
67

78
#include "FileLogger.h"
89
#include "FileUtils.h"

0 commit comments

Comments
 (0)