Static Function in Namespace Not Defined
Error
Cause
A function declared as static in a namespace needs to be defined in the header.
Fix
Either move the function definition to the header OR remove the static specifier. Global functions in namespaces do not need to be static.
Last updated