8000 Merge pull request #235 from mlamby/patch-1 · ChaiScript/ChaiScript@452f71b · GitHub
[go: up one dir, main page]

Skip to content

Commit 452f71b

Browse files
committed
Merge pull request #235 from mlamby/patch-1
Fix user 8000 _type example in cheatsheet.md
2 parents 21048b9 + a97cb15 commit 452f71b

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
@@ -77,7 +77,7 @@ chai.add(chaiscript::constructor<MyType (const MyType &)>(), "MyType");
7777
It's not strictly necessary to add types, but it helps with many things. Cloning, better errors, etc.
7878

7979
```
80-
chai.add(chaiscript::user_type<MyClass>, "MyClass");
80+
chai.add(chaiscript::user_type<MyClass>(), "MyClass");
8181
```
8282

8383
## Adding Type Conversions

0 commit comments

Comments
 (0)
0