From 6ccab2af6acd0f69fab8c26674fecf39efcbdd3e Mon Sep 17 00:00:00 2001 From: Terens <37905314+TerensTare@users.noreply.github.com> Date: Thu, 2 Sep 2021 14:16:15 +0200 Subject: [PATCH] Fix typo in `cheatsheet.md` --- cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheatsheet.md b/cheatsheet.md index 50ee8aa4..da5a1774 100644 --- a/cheatsheet.md +++ b/cheatsheet.md @@ -46,7 +46,7 @@ chai.add(chaiscript::fun(&function_with_ove #### Alternative ```cpp -chai.add(chaiscript::fun(std::static_cast(&function_with_overloads)), "function_name"); +chai.add(chaiscript::fun(static_cast(&function_with_overloads)), "function_name"); ``` This overload technique is also used when exposing base member using derived type