Skip to content

Commit 7ad5b9b

Browse files
frederick-vs-jaanjiang
andauthored
Add missing ; to the end of definition of buffer_t (#303)
Co-authored-by: anjiang <anjiang@coremail.cn>
1 parent fc2e986 commit 7ad5b9b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

book/en-us/02-usability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ public:
878878
void free(T& item);
879879
private:
880880
T data[BufSize];
881-
}
881+
};
882882

883883
buffer_t<int, 100> buf; // 100 as template parameter
884884
```

book/zh-cn/02-usability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ public:
788788
void free(T& item);
789789
private:
790790
T data[BufSize];
791-
}
791+
};
792792

793793
buffer_t<int, 100> buf; // 100 作为模板参数
794794
```

0 commit comments

Comments
 (0)