Skip to content

Commit

Permalink
doc: fix typo in CppgcMixin docs
Browse files Browse the repository at this point in the history
PR-URL: #54762
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
joyeecheung authored Sep 5, 2024
1 parent 26eb062 commit 24302c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 24302c9

Please sign in to comment.