/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/exception.cpp (784B)
#include "util/exception.hpp" // This function exists to 'anchor' the class, and stop the compiler from // copying vtable and RTTI info into every object file that includes // this header. (Caught by -Wweak-vtables under Clang.) // More information from the LLVM Coding Standards: // If a class is defined in a header file and has a vtable (either it has // virtual methods or it derives from classes with virtual methods), it must // always have at least one out-of-line virtual method in the class. Without // this, the compiler will copy the vtable and RTTI into every .o file that // #includes the header, bloating .o file sizes and increasing link times. namespace osrm::util { void exception::anchor() const {} void RuntimeError::anchor() const {} } // namespace osrm::util