summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/tproc/detail/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl/tproc/detail/config.hpp')
-rw-r--r--include/ocl/tproc/detail/config.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ocl/tproc/detail/config.hpp b/include/ocl/tproc/detail/config.hpp
index 455a5d3..363ea5a 100644
--- a/include/ocl/tproc/detail/config.hpp
+++ b/include/ocl/tproc/detail/config.hpp
@@ -26,6 +26,11 @@ namespace ocl::tproc
throw std::out_of_range(sc.to_string());
}
+ inline void throw_bad_alloc()
+ {
+ throw std::bad_alloc();
+ }
+
} // namespace detail
} // namespace ocl::tproc