mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-08 06:12:43 -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
|
@ -1367,7 +1367,7 @@ void RsServicePermissions::resetPermission(const RsPeerId& peerId)
|
|||
|
||||
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