Conversation
include/util/exception.hpp
Outdated
There was a problem hiding this comment.
I deem these common header guard names dangerous if they do not at least include some directory/other identifier. Good chance of header guard conflicts.
There was a problem hiding this comment.
Yes you are right. Will revert to the osrm prefix again. 👍
|
@daniel-j-h can we maybe keep the TODO list in this PR? I'm currently trying to split some smaller items out for @karenzshea to learn about C++ compiler errors 😸 |
|
@TheMarex sure! @karenzshea hit me up if you need help in fighting compilers 🔪 |
|
|
refactor lua profiles, with base class/functions containing code that's reused between profiles? |
c51aa8d to
9ee315e
Compare
|
@daniel-j-h can you please rebase + merge this as we shifted to API work? |
9ee315e to
16fd3ae
Compare
|
Okay. Ticketing remaining issues up in #1971. Waiting for Travis, then will merge. |
PI is not in the stdlib, neither is 1/pi, pi*2 and so on. Instead of relying on implementations providing these, use properly typed math constants. Main benefits: - portable and - returns constexpr, for compile-time computation References: - http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants_intro.html - http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants.html
This reverts commit cd039c6.
16fd3ae to
a6d406d
Compare
|
Hopefully this should fix Travis. Waiting for ok, then will merge. |
wip