From 24302c9fe94e1dd755ac8a8cc1f6aa4444f75cb3 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Thu, 5 Sep 2024 19:45:26 +0200 Subject: [PATCH] doc: fix typo in CppgcMixin docs PR-URL: https://github.com/nodejs/node/pull/54762 Reviewed-By: Daeyeon Jeong Reviewed-By: Luigi Pinca --- src/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index 33ec44f0d32..a08ef42b112 100644 --- a/src/README.md +++ b/src/README.md @@ -1013,7 +1013,7 @@ A `cppgc`-managed native wrapper should look something like this: // CPPGC_MIXIN is a helper macro for inheriting from cppgc::GarbageCollected, // cppgc::NameProvider and public CppgcMixin. Per cppgc rules, it must be // placed at the left-most position in the class hierarchy. -class MyWrap final : CPPGC_MIXIN(ContextifyScript) { +class MyWrap final : CPPGC_MIXIN(MyWrap) { public: SET_CPPGC_NAME(MyWrap) // Sets the heap snapshot name to "Node / MyWrap"