mapbox / node-s2

bindings for s2 in node
88 stars 38 forks source link

Use static assert #62

Closed DennisOSRM closed 10 years ago

DennisOSRM commented 10 years ago

replaces compiler hacks that emulated compile-time assertions by actual static_assert. kills plenty of unused macro warnings in GCC 4.8+

DennisOSRM commented 10 years ago

I'll need to run this against a couple of compilers locally to see if any warnings are left. Should be good to merge later today.

cc: @tmcw

DennisOSRM commented 10 years ago

@tmcw pls have a look and pull the trigger if it's good.