From e1ea73c70cd25107a96b7c72e0f860d3e0f84d17 Mon Sep 17 00:00:00 2001 From: Reece Date: Thu, 7 Oct 2021 00:23:55 +0100 Subject: [PATCH] Add example allocation of the struct example for the hell of it --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 196240f..ce9f77a 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,9 @@ struct MyEventHandler : public IInputMouseSubscriber void onButtonPress(AuUInt8 mb) override; void onButtonTick(AuUInt8 mb) override; void onButtonUp(AuUInt8 mb) override; -} +}; +auto handle = AuMakeShared(); ``` ##### Not recommended for small projects and/or people with a shred of sanity left