From 8a7e75e84a31180d51b9970d526709ec4dca2030 Mon Sep 17 00:00:00 2001 From: Michele Papalini Date: Thu, 2 Feb 2023 17:49:46 +0100 Subject: fix(hicn): fix bugs reported by sonarqube Ref: HICN-837 Signed-off-by: Michele Papalini Change-Id: I0d02a11361b1ba5ad50123b2dd142c961998922f --- libtransport/src/protocols/incremental_indexer_bytestream.h | 2 +- libtransport/src/protocols/rtc/rtc_indexer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libtransport/src/protocols') diff --git a/libtransport/src/protocols/incremental_indexer_bytestream.h b/libtransport/src/protocols/incremental_indexer_bytestream.h index 422e49ecd..4f9b6126f 100644 --- a/libtransport/src/protocols/incremental_indexer_bytestream.h +++ b/libtransport/src/protocols/incremental_indexer_bytestream.h @@ -48,7 +48,7 @@ class IncrementalIndexer : public Indexer { IncrementalIndexer(const IncrementalIndexer &other) = delete; IncrementalIndexer(IncrementalIndexer &&other) - : Indexer(std::forward(other)), + : Indexer(other), final_suffix_(other.final_suffix_), first_suffix_(other.first_suffix_), next_download_suffix_(other.next_download_suffix_), diff --git a/libtransport/src/protocols/rtc/rtc_indexer.h b/libtransport/src/protocols/rtc/rtc_indexer.h index cda156b22..f87fcaaa2 100644 --- a/libtransport/src/protocols/rtc/rtc_indexer.h +++ b/libtransport/src/protocols/rtc/rtc_indexer.h @@ -47,7 +47,7 @@ class RtcIndexer : public Indexer { n_fec_(0), n_current_fec_(n_fec_) {} - RtcIndexer(RtcIndexer &&other) : Indexer(std::forward(other)) {} + RtcIndexer(RtcIndexer &&other) : Indexer(other) {} ~RtcIndexer() {} -- cgit 1.2.3-korg