summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-08 11:44:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-08 13:04:49 +0300
commitb13beb3c1d965dd1a2a8dd3bdbea3d66242c3298 (patch)
tree09e94834279ae54b19403805e7f77766cf38bcce /src/gui
parent57c8ddb516edcf88de31a6bcd7724d4329839c0a (diff)
downloadplus-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.tar.gz
plus-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.tar.bz2
plus-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.tar.xz
plus-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.zip
remove unused system headers.
also remplace legacy headers.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/palette.cpp2
-rw-r--r--src/gui/windows/itemamountwindow.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index ada4f2e5b..0f7d76e85 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -25,7 +25,7 @@
#include "client.h"
-#include <math.h>
+#include <cmath>
#include "debug.h"
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp
index 8816be8dc..7ad559c92 100644
--- a/src/gui/windows/itemamountwindow.cpp
+++ b/src/gui/windows/itemamountwindow.cpp
@@ -48,8 +48,6 @@
#include "utils/gettext.h"
-#include <math.h>
-
#include "debug.h"
class ItemsModal final : public gcn::ListModel