Skip to content

Commit cdd2efd

Browse files
committed
Replace math.h header with cmath
1 parent 0995042 commit cdd2efd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/Fraction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef OPENSHOT_FRACTION_H
3232
#define OPENSHOT_FRACTION_H
3333

34-
#include <math.h>
34+
#include <cmath>
3535

3636
namespace openshot {
3737

include/FrameMapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
#include <assert.h>
3535
#include <iostream>
36-
#include <math.h>
36+
#include <cmath>
3737
#include <vector>
3838
#include <memory>
3939
#include "CacheMemory.h"

include/KeyFrame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
#include <iostream>
3535
#include <iomanip>
36-
#include <math.h>
36+
#include <cmath>
3737
#include <assert.h>
3838
#include <vector>
3939
#include "Exceptions.h"

0 commit comments

Comments
 (0)