-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add static to avoid frequence memory allocation
- Loading branch information
1 parent
9fe6e23
commit 851ac43
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
851ac43
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're making great improvements to the driver, thanks! 👍
Just one idea: I don't think this will be likely but just in case... why not adding the std::vector as a member of the class instead, so there are no conflicts in the event of using more than one instances of the object? (e.g. two sensors using two nodelets?)