Skip to content

Commit

Permalink
remove a minior compile warning (#181)
Browse files Browse the repository at this point in the history
- remove un-referenced simbol
  • Loading branch information
pjueon committed Sep 14, 2022
1 parent f4ffe09 commit 4a11574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/CL/opencl.hpp
Expand Up @@ -3885,7 +3885,7 @@ cl::pointer<T, detail::Deleter<Alloc>> allocate_pointer(const Alloc &alloc_, Arg

return cl::pointer<T, detail::Deleter<Alloc>>(tmp, detail::Deleter<Alloc>{alloc, copies});
}
catch (std::bad_alloc& b)
catch (std::bad_alloc&)
{
std::allocator_traits<Alloc>::deallocate(alloc, tmp, copies);
throw;
Expand Down

0 comments on commit 4a11574

Please sign in to comment.