Const/pass-by-reference a bunch more baseband stuff.

This commit is contained in:
Jared Boone
2015-12-10 12:36:12 -08:00
parent 3ed77af0c1
commit ef315f0d92
22 changed files with 28 additions and 28 deletions

View File

@@ -31,7 +31,7 @@
class RSSIStatisticsCollector {
public:
template<typename Callback>
void process(rf::rssi::buffer_t buffer, Callback callback) {
void process(const rf::rssi::buffer_t& buffer, Callback callback) {
auto p = buffer.p;
if( p == nullptr ) {
return;