From a7af817643972f880de6ee46ec17093e12bb78df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E4=BD=B3=E9=B9=8F?= Date: Mon, 1 Jun 2020 15:52:38 +0800 Subject: [PATCH] example code error --- 3.MovingToModernCpp/item16.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3.MovingToModernCpp/item16.md b/3.MovingToModernCpp/item16.md index e0bb93a..87efd8d 100644 --- a/3.MovingToModernCpp/item16.md +++ b/3.MovingToModernCpp/item16.md @@ -32,8 +32,8 @@ public: } private: - mutable bool rootsAreVaild() { false }; // initializers 的更多信息 - mutable RootsType rootVals() {}; // 请查看条款7 + mutable bool rootsAreVaild{ false }; // initializers 的更多信息 + mutable RootsType rootVals{}; // 请查看条款7 }; ```