-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Big Cleanup II #1936
The Big Cleanup II #1936
Conversation
#ifndef OSRM_EXCEPTION_HPP | ||
#define OSRM_EXCEPTION_HPP | ||
#ifndef EXCEPTION_HPP | ||
#define EXCEPTION_HPP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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