Commit 310c6201 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Initialize base_obj in constructor (cppcheck report)

parent 32f964bd
......@@ -34,7 +34,11 @@ namespace {
// The s_* Class simply covers one instantiation of the object
class s_ZoneTableAccessor : public PyObject {
s_ZoneTableAccessor() : cppobj(ConstZoneTableAccessorPtr()) {};
s_ZoneTableAccessor() :
ConstZoneTableAccessorPtr cppobj;
// This is a reference to a base object; if the object of this class
// depends on another object to be in scope during its lifetime,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment