Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b71cd84

Browse files
authored
Merge pull request #1 from googhee/googhee-patch-1
Update 02使用线程.md
2 parents 299c827 + ffdad75 commit b71cd84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎md/02使用线程.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ auto sum(ForwardIt first, ForwardIt last){
9191
std::size_t remainder = distance % num_threads;
9292

9393
// 存储每个线程的结果
94-
std::vector<value_type>results(num_threads);
94+
std::vector<value_type>results(num_threads);
9595

9696
// 存储关联线程的线程对象
9797
std::vector<std::thread> threads;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /