[Core] Fix crash due to bad compiler [c2061]

Signed-off-by: Daniel S. Reichenbach <daniel@kogitoapp.com>