mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 08:07:31 -04:00
Fix CppCheck in rsservicecontrol.h
/libretroshare/src/retroshare/rsservicecontrol.h:46: warning: Cppcheck(passedByValue): Function parameter 'service_name' should be passed by reference.
This commit is contained in:
parent
1c862def6a
commit
a248ee7d41
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class RsServiceInfo
|
|||
RsServiceInfo();
|
||||
RsServiceInfo(
|
||||
const uint16_t service_type,
|
||||
const std::string service_name,
|
||||
const std::string& service_name,
|
||||
const uint16_t version_major,
|
||||
const uint16_t version_minor,
|
||||
const uint16_t min_version_major,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue