Typo: typo → type. 😃
This commit is contained in:
parent
20e3dc5e09
commit
f1cc8cfb2d
|
@ -68,7 +68,7 @@ int main(int argc, char *argv[])
|
||||||
sleep_for(2s);
|
sleep_for(2s);
|
||||||
for (const auto &event : connection.get_new_events())
|
for (const auto &event : connection.get_new_events())
|
||||||
{
|
{
|
||||||
// Print typo of event and the beginning of the data.
|
// Print type of event and the beginning of the data.
|
||||||
cout << event.type << ": "
|
cout << event.type << ": "
|
||||||
<< event.data.substr(0, 70) << " …" << endl;
|
<< event.data.substr(0, 70) << " …" << endl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user