Use increment operator

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #7809 from LK4D4/use_increment

Use increment operator