add name to anonymous objects to avoid cppcheck error
Merge pull request #142 from pal-robotics/fix-cppcheck

Add name to anonymous objects to avoid cppcheck error