summaryrefslogtreecommitdiff
path: root/core/fxcrt/unowned_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/unowned_ptr.h')
-rw-r--r--core/fxcrt/unowned_ptr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fxcrt/unowned_ptr.h b/core/fxcrt/unowned_ptr.h
index f9753cde37..b1c9c66b3e 100644
--- a/core/fxcrt/unowned_ptr.h
+++ b/core/fxcrt/unowned_ptr.h
@@ -32,7 +32,8 @@
//
// The array indexing operation [] is not supported on an unowned ptr,
// because an unowned ptr expresses a one to one relationship with some
-// other heap object.
+// other heap object. Use pdfium::span<> for the cases where indexing
+// into an unowned array is desired, which performs the same checks.
namespace fxcrt {