usdot-fhwa-stol / carma-utils

Utility libraries for hardware drivers in the CARMA Platform
2 stars 5 forks source link

`CarmaLifecycleNode` default template parameter values redefine existing default parameter #205

Closed adamlm closed 9 months ago

adamlm commented 9 months ago

Summary

The CarmaLifecycleNode's member functions have some default template parameter types defined in the .hpp file. These default template parameter types are included in the .tpp file, which the compiler sees as a redefinition (a compiler error) even though the types are the same. We should remove the default template parameters in the .tpp file.

Commit

develop

Expected Behavior

The CarmaLifecycleNode does not redefine default template parameter type

Actual Behavior

The CarmaLifecycleNode redefines default template parameter type

Steps to Reproduce the Actual Behavior

  1. Inspect code
  2. Attempt to compile with clang

Related Work

CDAR-674