Merge pull request #1 from mangoszero/Rel20

Rel20
Hotfix for Compilation error on range based loop.
Merge pull request #225 from Warkdev/Rel20_FixCompilationError

[Core] fix compilation error on older compilers