Skip to content

Commit 19801fc

Browse files
committed
Refining.
1 parent 5c0bab7 commit 19801fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: docs/07-faq-compilation-failure.md

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ To fix this in the "class-wrapping" method, don't write forward declarations.
3030
```diff
3131
- int myFunc(int const a, int const b);
3232
```
33+
or declare them `static`. Note: This may have unintended side effects.
34+
```diff
35+
- int myFunc(int const a, int const b);
36+
+ static int myFunc(int const a, int const b);
37+
```
3338

3439
### Beware of the right function signature for callback functions
3540
```C++

0 commit comments

Comments
 (0)