summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-02-27 01:36:12 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-02-27 01:37:15 -0800
commit90ebb6fca0932e33f278d31d42101bb242b7dc7c (patch)
treed80fa474ec1b5cd8beb1ea8c552b7f634602aad5
parent1436831c9515f81c8b27211acc143b98c6439646 (diff)
Fix typo in example code snippet.
PiperOrigin-RevId: 610672905 Change-Id: I8e4ae98bb6e6421540a3073e3e6cb7de60fd32a9
-rw-r--r--absl/base/prefetch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/prefetch.h b/absl/base/prefetch.h
index eb40a445..482cde3a 100644
--- a/absl/base/prefetch.h
+++ b/absl/base/prefetch.h
@@ -129,7 +129,7 @@ void PrefetchToLocalCacheNta(const void* addr);
//
// void* Arena::Allocate(size_t size) {
// void* ptr = AllocateBlock(size);
-// absl::PrefetchToLocalCacheForWrite(p);
+// absl::PrefetchToLocalCacheForWrite(ptr);
// return ptr;
// }
//