Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
This has no programatic impact, however it's inconsistent with implementation so was causing some confusion in api docs generation, making it harder to cross ref from user guide,
  • Loading branch information
Robadob committed Feb 7, 2022
1 parent c622ad4 commit 0e4a25f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class MessageSpatial2D::In {
* @tparam N Length of variable name (this should be implicit if a string literal is passed to variable name)
* @return The specified variable, else 0x0 if an error occurs
*/
template<typename T, size_type N>
template<typename T, unsigned int N>
__device__ T getVariable(const char(&variable_name)[N]) const;
/**
* Returns the specified variable array element from the current message attached to the named variable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class MessageSpatial3D::In {
* @tparam N Length of variable name (this should be implicit if a string literal is passed to variable name)
* @return The specified variable, else 0x0 if an error occurs
*/
template<typename T, size_type N>
template<typename T, unsigned int N>
__device__ T getVariable(const char(&variable_name)[N]) const;
/**
* Returns the specified variable array element from the current message attached to the named variable
Expand Down

0 comments on commit 0e4a25f

Please sign in to comment.