QuackatronHQ / Gigarepo

Missing or incorrect invocation of base class copy constructor CXX-W2003
Bug risk
Major
1 occurrence in this check
Derived::Derived(..) is calling a base constructor other than the copy constructor
20
21class Derived : public Base {
22  // Consider calling base copy ctor: Derived(const Derived &other) : Base(other){}
23  Derived(const Derived &other) {}24};
25
26float foo(float a[100]) {