mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Silence clang-tidy check
This commit is contained in:
parent
783047aeb6
commit
c47fa0d895
@ -187,7 +187,7 @@ std::unique_ptr<To> dynamic_unique_cast(std::unique_ptr<From>&& p)
|
||||
if (To* cast = dynamic_cast<To*>(p.get()))
|
||||
{
|
||||
result.reset(cast);
|
||||
p.release();
|
||||
p.release(); // NOLINT(bugprone-unused-return-value)
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user