From b246ce28744fdd8305ed0972bec5ba14df13988b Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Thu, 7 Nov 2024 17:17:24 +0000 Subject: [PATCH] Fix a typo in `multi_ptr::operator=` documentation Cherry pick #642 from sycl-2020 (cherry picked from commit 05469ac562242d171fc87c42d77dea23739573e2) --- adoc/chapters/programming_interface.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index c3d84581..5f2b2f9c 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -10135,7 +10135,7 @@ operator=(const multi_ptr&) ---- a@ Available only when: [code]#(Space == access::address_space::generic_space && AS != access::address_space::constant_space)#. -Assigns the value of the left hand side [code]#multi_ptr# into the [code]#generic_ptr#. +Assigns the value of the right hand side [code]#multi_ptr# into the [code]#generic_ptr#. a@ [source] @@ -10148,7 +10148,7 @@ operator=(multi_ptr&&) a@ Available only when: [code]#(Space == access::address_space::generic_space && AS != access::address_space::constant_space)#. -Move the value of the left hand side [code]#multi_ptr# into the [code]#generic_ptr#. +Move the value of the right hand side [code]#multi_ptr# into the [code]#generic_ptr#. a@ [source]