summaryrefslogtreecommitdiff
path: root/src/simulation/Element.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@Simons-Mac-Pro.local>2012-04-26 12:10:47 (GMT)
committer Simon Robertshaw <simon@Simons-Mac-Pro.local>2012-04-26 12:10:47 (GMT)
commitbb8a3f76e3b558a63eab38ab15ebb71f9b5ac762 (patch)
treeff63bd38df84018dc9843e5a5d26f5795b657735 /src/simulation/Element.h
parent9e4cd165eb66b27a42f8eb3aad1993be5178d825 (diff)
downloadpowder-bb8a3f76e3b558a63eab38ab15ebb71f9b5ac762.zip
powder-bb8a3f76e3b558a63eab38ab15ebb71f9b5ac762.tar.gz
OS X compiling working, Make it a bit more friendly with stricter compilers
Diffstat (limited to 'src/simulation/Element.h')
-rw-r--r--src/simulation/Element.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Element.h b/src/simulation/Element.h
index 449bf51..f00751e 100644
--- a/src/simulation/Element.h
+++ b/src/simulation/Element.h
@@ -2,7 +2,7 @@
#define ELEMENT_H
// This header should be included by all files in src/elements/
-#include <math.h>
+#include <cmath>
#include "Simulation.h"
#include "Renderer.h"
#include "ElementFunctions.h"