diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-28 21:50:29 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-28 21:50:29 +0100 |
| commit | 3df7cc4d199c263d5d9a606ddc211f4935d23e4c (patch) | |
| tree | e84cd2c06239280f4864149d1799ae745fad042a /include/ocl/print.hpp | |
| parent | a185f437f42bd0215f212d11a0e23575945ea448 (diff) | |
feat: API: argument fixes for `throw_*` family of free functions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/print.hpp')
| -rw-r--r-- | include/ocl/print.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ocl/print.hpp b/include/ocl/print.hpp index fd1a0ea..374a151 100644 --- a/include/ocl/print.hpp +++ b/include/ocl/print.hpp @@ -44,7 +44,7 @@ namespace ocl::io using io_error = std::runtime_error; - inline void throw_option_invalid_type_error(const boost::string_view& loc = BOOST_CURRENT_LOCATION.to_string()) + inline void throw_option_invalid_type_error(const boost::source_location& loc = BOOST_CURRENT_LOCATION) { throw io_error(loc.to_string()); } @@ -76,7 +76,7 @@ namespace ocl::io print(fmt...); lf(); } - + } // namespace ocl::io #endif // ifndef __OCL_CORE_PRINT |
