book: fix an inconsistency between en-us and zh-cn

This commit is contained in:
Changkun Ou
2021-08-11 12:36:35 +02:00
parent e202554f16
commit 6f5615b971
2 changed files with 6 additions and 5 deletions

View File

@@ -105,7 +105,9 @@ The type of the captured variable being declared is judged according to the expr
and the judgment is the same as using `auto`:
```cpp
#include <memory>
#include <iostream>
#include <memory> // std::make_unique
#include <utility> // std::move
void lambda_expression_capture() {
auto important = std::make_unique<int>(1);