/srv/osrm/osrm-backend/src/util
NameSizeModeActions
guidance/-0755rm
assert.cpp10030644editdlrm
conditional_restrictions.cpp24610644editdlrm
coordinate.cpp12820644editdlrm
coordinate_calculation.cpp163540644editdlrm
exception.cpp7840644editdlrm
fingerprint.cpp33830644editdlrm
geojson_debug_policies.cpp25190644editdlrm
log.cpp45790644editdlrm
opening_hours.cpp142590644editdlrm
timed_histogram.cpp1360644editdlrm
timezones.cpp68230644editdlrm
Edit: /srv/osrm/osrm-backend/src/util/assert.cpp (1003B)
#include #include #include #include namespace { // We hard-abort on assertion violations. [[noreturn]] void assertion_failed_msg_helper( char const *expr, char const *msg, char const *function, char const *file, long line) { const auto tid = std::this_thread::get_id(); std::cerr << "[assert][" << tid << "] " << file << ":" << line << "\nin: " << function << ": " << expr << "\n" << msg; std::terminate(); } } // namespace // Boost.Assert only declares the following two functions and let's us define them here. namespace boost { void assertion_failed(char const *expr, char const *function, char const *file, long line) { ::assertion_failed_msg_helper(expr, "", function, file, line); } void assertion_failed_msg( char const *expr, char const *msg, char const *function, char const *file, long line) { ::assertion_failed_msg_helper(expr, msg, function, file, line); } } // namespace boost