Exception: make source location print-out optional
[lttng-tools.git] / src / common / random.hpp
index 7ba6ede5022985ceb069c2a8659f0d5e6c444df1..2dac4d3afb60fe93943ab2657dc07e11652101ae 100644 (file)
@@ -21,9 +21,7 @@ using seed_t = unsigned int;
 class production_error : public ::lttng::runtime_error {
 public:
        explicit production_error(const std::string& msg,
-                                 const char *file_name,
-                                 const char *function_name,
-                                 unsigned int line_number);
+                                 const lttng::source_location& source_location);
 };
 
 /*
This page took 0.023096 seconds and 4 git commands to generate.