Skip to content

Commit 6e3764a

Browse files
authored
Merge pull request cpp-best-practices#80 from mivade/safety-typo-fix
Fix typo
2 parents 95e7a16 + 7d67dbe commit 6e3764a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

04-Considering_Safety.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Exceptions cannot be ignored. Return values, such as using `boost::optional`, ca
120120
Stroustrup, the original designer of C++, [makes this point](http://www.stroustrup.com/bs_faq2.html#exceptions-why) much better than I ever could.
121121

122122
## Use C++-style cast instead of C-style cast
123-
Use the C++-style cast (static\_cast<>, dynamic\_cast<> ...) instead of the C-style cast. The C++-style cast allows more compiler checks and is considerable safer.
123+
Use the C++-style cast (static\_cast<>, dynamic\_cast<> ...) instead of the C-style cast. The C++-style cast allows more compiler checks and is considerably safer.
124124

125125
```cpp
126126
// Bad Idea

0 commit comments

Comments
 (0)