Use pointers when passing references according to Google style guidelines "runtime/references"
This commit is contained in:
parent
3dcc7a04ba
commit
1ac3fc25e0
21 changed files with 28 additions and 28 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <string>
|
||||
#include "common/Strings.h"
|
||||
|
||||
std::string ProtocolFineoffset::decodeData(ControllerMessage &dataMsg) {
|
||||
std::string ProtocolFineoffset::decodeData(const ControllerMessage &dataMsg) {
|
||||
std::string data = dataMsg.getParameter("data");
|
||||
if (data.length() < 8) {
|
||||
return "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue