Skip to content

Commit

Permalink
Bug 1245076 - Include cmath instead of math.h in Collider.cpp. r=jfkt…
Browse files Browse the repository at this point in the history
…hame

The combination of math.h being included and unified sources made abs()
in UtfCodec.h mean something different, failing the build with
libstdc++6 headers.
  • Loading branch information
glandium committed Mar 11, 2016
1 parent e925dcd commit a62af9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfx/graphite2/src/Collider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ of the License or (at your option) any later version.
*/
#include <algorithm>
#include <limits>
#include <math.h>
#include <cmath>
#include <string>
#include <functional>
#include "inc/Collider.h"
Expand Down

0 comments on commit a62af9c

Please sign in to comment.