Skip to content
Snippets Groups Projects

C++20 fixes

Merged Andre Sailer requested to merge sailer/Gaudi:c++20Fixes into master
All threads resolved!
@@ -25,18 +25,12 @@
#include <typeinfo>
#include <utility>
#if __cplusplus > 201703L && __has_include( <source_location> )
# if defined( __clang__ )
# include <experimental/source_location>
namespace Gaudi::PluginService::Details {
using std::experimental::source_location;
}
# else
# include <source_location>
#if __cplusplus > 201703L && __has_include( <source_location> ) && !defined (__CLING__)
# include <source_location>
namespace Gaudi::PluginService::Details {
using std::source_location;
}
# endif
#elif __cplusplus >= 201402L && !defined( __clang__ ) && __GNUC__ >= 8
# include <experimental/source_location>
namespace Gaudi::PluginService::Details {
Loading