X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13fb4af932a02ea0bd4293d1e55ac071de326f80..680abdb047c1a66d3ccc14cad518117773c3cc8c:/include/xbt/exception.hpp diff --git a/include/xbt/exception.hpp b/include/xbt/exception.hpp index 511f47a3ac..6e801981d2 100644 --- a/include/xbt/exception.hpp +++ b/include/xbt/exception.hpp @@ -43,8 +43,7 @@ typedef std::vector Backtrace; class ThrowPoint { public: ThrowPoint() = default; - ThrowPoint(const char* file, int line, const char* function) : - file(file), line(line), function(function) {} + explicit ThrowPoint(const char* file, int line, const char* function) : file(file), line(line), function(function) {} const char* file = nullptr; int line = 0; const char* function = nullptr;