Skip to content

Commit 1b2b51c

Browse files
committed
Change a couple warning blocks to important
1 parent 6698865 commit 1b2b51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ CPPTRACE_TRY {
592592
}
593593
```
594594

595-
> [!WARNING]
595+
> [!IMPORTANT]
596596
> There is an unfortunate limitation with `return` statements in these try/catch macros: The implementation on Windows
597597
> requires wrapping the try body in an immediately-invoked lambda and and as such `return` statements would return from
598598
> the lambda not the enclosing function. Cpptrace guards against misleading `return`s compiling by requiring the lambdas
@@ -606,7 +606,7 @@ CPPTRACE_TRY {
606606
> }
607607
> ```
608608
609-
> [!WARNING]
609+
> [!IMPORTANT]
610610
> There is a footgun which is mainly relevant for code that was written on an older version of cpptrace: It's possible
611611
> to write the following without getting errors
612612
> ```cpp

0 commit comments

Comments
 (0)