Authored by axeldavy on Feb 18 2017, 1:33 PM.
to insert a wait, whereas you need in the latter).
Please provide full context diff next time (-U9999999), it helps to avoid such misunderstandings.
Better to use const reference to &S here.