diff --git a/daemon/src/sip/sdp.h b/daemon/src/sip/sdp.h
index 7c467fc5faf588e9d551052529226f4a8dcd09f7..df94ac5d47a35b50c6f96d6e7cd4aef53914a14b 100644
--- a/daemon/src/sip/sdp.h
+++ b/daemon/src/sip/sdp.h
@@ -252,7 +252,7 @@ class Sdp {
          * Set the SRTP master_key
          * @param mk The Master Key of a srtp session.
          */
-        void setLocalSdpCrypto(const std::vector<std::string> lc) {
+        void setLocalSdpCrypto(const std::vector<std::string> &lc) {
             srtpCrypto_ = lc;
         }