Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

add #include <cmath>

Shinya Kitaoka61dd762587b6
diff --git a/toonz/sources/toonzlib/sandor_fxs/BlurMatrix.cpp b/toonz/sources/toonzlib/sandor_fxs/BlurMatrix.cpp
index 1ac1f0a6f..f1e3d3a92 100644
--- a/toonz/sources/toonzlib/sandor_fxs/BlurMatrix.cpp
+++ b/toonz/sources/toonzlib/sandor_fxs/BlurMatrix.cpp
@@ -21,8 +21,8 @@ int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
#include <vector>
#include <algorithm>
-#include <math.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdlib>
//#include "SError.h"
#include "BlurMatrix.h"
diff --git a/toonz/sources/toonzqt/functionpanel.cpp b/toonz/sources/toonzqt/functionpanel.cpp
index 3a0b21f5b..833ac0a76 100644
--- a/toonz/sources/toonzqt/functionpanel.cpp
+++ b/toonz/sources/toonzqt/functionpanel.cpp
@@ -29,6 +29,8 @@
#include <QMenu>
#include <QSettings>
+#include <cmath>
+
namespace
{