Skip to content

Commit f718393

Browse files
committed
Update README.md
1 parent 7c2bd9a commit f718393

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Sample usage
2929
std::cout << "hello from " << id << '\n';
3030
}</code>
3131

32-
<code>&#09;&#09;struct Second {
32+
<code>&#32;&#32;struct Second {
3333
void operator()(int id) const {
3434
std::cout << "hello from " << id << '\n';
3535
}
@@ -40,20 +40,20 @@ Sample usage
4040

4141
<code>int main () {</code>
4242

43-
<code>&#09;&#09;&#09;&#09;ctpl::thread_pool p(2 /* two threads in the pool */);</code>
43+
<code>&#32;&#32;&#32;&#32;ctpl::thread_pool p(2 /* two threads in the pool */);</code>
4444

45-
<code>&#09;&#09;&#09;&#09;p.push(first); // function</code>
45+
<code>&#32;&#32;&#32;&#32;p.push(first); // function</code>
4646

47-
<code>&#09;&#09;&#09;&#09;p.push(third, "additional_param");</code>
47+
<code>&#32;&#32;&#32;&#32;p.push(third, "additional_param");</code>
4848

49-
<code>&#09;&#09;&#09;&#09;p.push( &#91;&#93; (int id){
49+
<code>&#32;&#32;&#32;&#32;p.push( &#91;&#93; (int id){
5050
std::cout << "hello from " << id << '\n';
5151
}); // lambda</code>
5252

53-
<code>&#09;&#09;&#09;&#09;p.push(std::ref(second)); // functor, reference</code>
53+
<code>&#32;&#32;&#32;&#32;p.push(std::ref(second)); // functor, reference</code>
5454

55-
<code>&#09;&#09;&#09;&#09;p.push(const_cast&#60;const Second &&#62;(second)); // functor, copy ctor</code>
55+
<code>&#32;&#32;&#32;&#32;p.push(const_cast&#60;const Second &&#62;(second)); // functor, copy ctor</code>
5656

57-
<code>&#09;&#09;&#09;&#09;p.push(std::move(second)); // functor, move ctor</code>
57+
<code>&#32;&#32;&#32;&#32;p.push(std::move(second)); // functor, move ctor</code>
5858

5959
<code>}</code>

0 commit comments

Comments
 (0)