Skip to content

Commit 2898ae6

Browse files
authored
Merge pull request #580 from TerensTare/patch-1
Fix typo in `cheatsheet.md`
2 parents 6411aa7 + 6ccab2a commit 2898ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cheatsheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ chai.add(chaiscript::fun<ReturnType (ParamType1, ParamType2)>(&function_with_ove
4646
#### Alternative
4747

4848
```cpp
49-
chai.add(chaiscript::fun(std::static_cast<ReturnType (*)(ParamType1, ParamType2)>(&function_with_overloads)), "function_name");
49+
chai.add(chaiscript::fun(static_cast<ReturnType (*)(ParamType1, ParamType2)>(&function_with_overloads)), "function_name");
5050
```
5151
This overload technique is also used when exposing base member using derived type
5252

0 commit comments

Comments
 (0)