Fixes coverity 369570

master
AlaiaL 4 years ago committed by Andre Puschmann
parent 6332490cae
commit 0535473895

@ -106,7 +106,7 @@ public:
} }
} }
void config_security(as_security_config_t sec_cfg_); void config_security(const as_security_config_t& sec_cfg_);
// GW/SDAP/RRC interface // GW/SDAP/RRC interface
virtual void write_sdu(unique_byte_buffer_t sdu, int sn = -1) = 0; virtual void write_sdu(unique_byte_buffer_t sdu, int sn = -1) = 0;

@ -23,7 +23,7 @@ pdcp_entity_base::pdcp_entity_base(task_sched_handle task_sched_, srslog::basic_
pdcp_entity_base::~pdcp_entity_base() {} pdcp_entity_base::~pdcp_entity_base() {}
void pdcp_entity_base::config_security(as_security_config_t sec_cfg_) void pdcp_entity_base::config_security(const as_security_config_t& sec_cfg_)
{ {
sec_cfg = sec_cfg_; sec_cfg = sec_cfg_;

Loading…
Cancel
Save