diff options
Diffstat (limited to 'example/option_example/example.cc')
| -rw-r--r-- | example/option_example/example.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/example/option_example/example.cc b/example/option_example/example.cc index c784dec..b2c3f95 100644 --- a/example/option_example/example.cc +++ b/example/option_example/example.cc @@ -1,3 +1,8 @@ +// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org) +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// Official repository: https://github.com/ocl-org/core + #include <ocl/crc_hash.hpp> #include <ocl/print.hpp> #include <ocl/option.hpp> @@ -6,7 +11,7 @@ struct invalid_callable { explicit invalid_callable() = default; void operator()(const char* reason) { - ocl::detail::throw_runtime_error(BOOST_CURRENT_LOCATION.to_string()); + ocl::detail::throw_runtime_error(); } }; |
