Skip to content

Commit 5b16b09

Browse files
[ABI-Break][SYCL] Remove sycl::make_unique_ptr (#13232)
Not used, was faiting for an ABI breaking window to be removed.
1 parent fce0670 commit 5b16b09

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

sycl/include/sycl/sycl.hpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,3 @@
105105
#include <sycl/ext/oneapi/sub_group.hpp>
106106
#include <sycl/ext/oneapi/sub_group_mask.hpp>
107107
#include <sycl/ext/oneapi/weak_object.hpp>
108-
109-
#if !defined(__INTEL_PREVIEW_BREAKING_CHANGES)
110-
namespace sycl {
111-
inline namespace _V1 {
112-
// This wasn't put into "detail" so we can't just drop it outsdie ABI-breaking
113-
// window. DO NOT USE.
114-
template <typename T, typename... ArgsT>
115-
__SYCL_DEPRECATED(
116-
"sycl::make_unique_ptr was never supposed to be anything other than "
117-
"an implementation detail. Use std::make_unique instead.")
118-
std::unique_ptr<T> make_unique_ptr(ArgsT &&...Args) {
119-
return std::unique_ptr<T>(new T(std::forward<ArgsT>(Args)...));
120-
}
121-
} // namespace _V1
122-
} // namespace sycl
123-
#endif

0 commit comments

Comments
 (0)