File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2055,8 +2055,13 @@ void handler::SetHostTask(std::function<void(interop_handle)> &&Func) {
20552055 setType (detail::CGType::CodeplayHostTask);
20562056}
20572057
2058- void handler::addAccessorReq (detail::AccessorImplPtr) {
2059- assert (false && " The function must not be used." );
2058+ // TODO: This function is not used anymore, remove it in the next
2059+ // ABI-breaking window.
2060+ void handler::addAccessorReq (detail::AccessorImplPtr Accessor) {
2061+ // Add accessor to the list of requirements.
2062+ impl->CGData .MRequirements .push_back (Accessor.get ());
2063+ // Store copy of the accessor.
2064+ impl->CGData .MAccStorage .push_back (std::move (Accessor));
20602065}
20612066
20622067void handler::addLifetimeSharedPtrStorage (std::shared_ptr<const void > SPtr) {
You can’t perform that action at this time.
0 commit comments