instance of "Parameter" object destroyed immediately
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Johan Engelen |
Bug Description
[../inkscape/
(revision 10464)
You can't call a constructor from a constructor in C++ (well, you can, but it just creates a temporary object which is destroyed right after the call). See alternative methods to do the same thing from:
http://
Here is the problematic code:
Related branches
tags: | added: cppcheck |
Changed in inkscape: | |
assignee: | nobody → Jon A. Cruz (jon-joncruz) |
status: | New → Confirmed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Most likely a confusion from Java, since ctors calling other ctors is the norm there.