mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
fixed grammar
This commit is contained in:
parent
b6ae2a6d68
commit
7638057b63
@ -62,9 +62,9 @@ public:
|
||||
tp.add_task(*this,&test::subtask2); // schedule call to this->subtask2()
|
||||
|
||||
// Since var is a future, this line will wait for the test::subtask task to
|
||||
// finish and before allowing us to access the contents of var. var will
|
||||
// finish before allowing us to access the contents of var. Then var will
|
||||
// return the integer it contains. In this case result will be assigned
|
||||
// the value of 2 since var was incremented by subtask().
|
||||
// the value 2 since var was incremented by subtask().
|
||||
int result = var;
|
||||
// print out the result
|
||||
dlog << LINFO << "var = " << result;
|
||||
|
Loading…
Reference in New Issue
Block a user