From 3692b1af6efaa05bddd65e1b67fb5ee9a7f1da3a Mon Sep 17 00:00:00 2001 From: suyeguanxing <146062855+suyeguanxing@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:44:18 +0800 Subject: [PATCH] fix #64 (#201) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix #153: 翻译错误 * fix #64 多处重载改为重写 --- README.md | 2 +- src/SUMMARY.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2b9082..8771efe 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ 3. [Item 9:优先考虑别名声明而非typedefs](src/3.MovingToModernCpp/item9.md) 4. [Item 10:优先考虑限域枚举而非未限域枚举](src/3.MovingToModernCpp/item10.md) 已修订 5. [Item 11:优先考虑使用deleted函数而非使用未定义的私有声明](src/3.MovingToModernCpp/item11.md) - 6. [Item 12:使用override声明重载函数](src/3.MovingToModernCpp/item12.md) + 6. [Item 12:使用override声明重写函数](src/3.MovingToModernCpp/item12.md) 7. [Item 13:优先考虑const_iterator而非iterator](src/3.MovingToModernCpp/item13.md) 8. [Item 14:如果函数不抛出异常请使用noexcept](src/3.MovingToModernCpp/item14.md) 9. [Item 15:尽可能的使用constexpr](src/3.MovingToModernCpp/item15.md) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 2836a43..2d0e239 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -13,7 +13,7 @@ - [Item 9:优先考虑别名声明而非typedefs](./3.MovingToModernCpp/item9.md) - [Item 10:优先考虑限域枚举而非未限域枚举](./3.MovingToModernCpp/item10.md) - [Item 11:优先考虑使用deleted函数而非使用未定义的私有声明](./3.MovingToModernCpp/item11.md) - - [Item 12:使用override声明重载函数](./3.MovingToModernCpp/item12.md) + - [Item 12:使用override声明重写函数](./3.MovingToModernCpp/item12.md) - [Item 13:优先考虑const_iterator而非iterator](./3.MovingToModernCpp/item13.md) - [Item 14:如果函数不抛出异常请使用noexcept](./3.MovingToModernCpp/item14.md) - [Item 15:尽可能的使用constexpr](./3.MovingToModernCpp/item15.md)