leducp / KickCAT

A C++ open source EtherCAT master stack
Other
59 stars 13 forks source link

Add namespace to function call in error macro. #118

Closed Rdk-T closed 1 year ago

Rdk-T commented 1 year ago

When the THROW_ERROR macro is used in external project in a template, the call to the function is missing the namespace.

github-actions[bot] commented 1 year ago

File Coverage Lines Branches
All files 74% 78% 69% :x:
include/kickcat/Bus.h 63% 100% 27% :x:
include/kickcat/DebugHelpers.h 83% 100% 66% :white_check_mark:
include/kickcat/Error.h 91% 100% 83% :white_check_mark:
include/kickcat/Gateway.h 75% 100% 50% :white_check_mark:
include/kickcat/Link.h 92% 85% 100% :white_check_mark:
include/kickcat/Mailbox.h 92% 100% 85% :white_check_mark:
include/kickcat/protocol.h 66% 66% 0% :x:
simulation/ESC.cc 0% 0% 0% :x:
simulation/ESC.h 0% 0% 0% :x:
simulation/network_simulator.cc 0% 0% 0% :x:
src/Bus.cc 90% 92% 89% :white_check_mark:
src/CoE.cc 84% 95% 74% :white_check_mark:
src/Frame.cc 85% 92% 77% :white_check_mark:
src/Link.cc 96% 99% 94% :white_check_mark:
src/Mailbox.cc 85% 88% 81% :white_check_mark:
src/Prints.cc 93% 93% 93% :white_check_mark:
src/Slave.cc 82% 81% 84% :white_check_mark:
src/Time.cc 28% 28% 0% :x:
src/protocol.cc 79% 83% 76% :white_check_mark:

Minimum allowed coverage is 75%

Generated by :monkey: cobertura-action against 9454d8c5e93cc5bd0fb6c0c09282ff78e365025b