// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see . #ifdef LIBCARLA_NO_EXCEPTIONS #include #include #include namespace carla { void throw_exception(const std::exception &e) { log_critical("carla::throw_exception:", e.what()); log_critical("calling std::terminate because exceptions are disabled."); std::terminate(); } } // namespace carla #endif // LIBCARLA_NO_EXCEPTIONS #include "Random.h" namespace util { thread_local std::mt19937_64 Random::_engine((std::random_device())()); } // namespace util