Consider
struct A {
A() = default;
explicit A(int id)
: _id(std::move(id)) {}
int _id;
};
struct B : A {
using A::A;
}
SonarQube flags line using A::A;
with cpp:S1238. I do not see why is that.
Consider
struct A {
A() = default;
explicit A(int id)
: _id(std::move(id)) {}
int _id;
};
struct B : A {
using A::A;
}
SonarQube flags line using A::A;
with cpp:S1238. I do not see why is that.
Hey there.
What version of SonarQube are you using?