Project

General

Profile

Actions

Bug #232

closed

Bug #80: Version 1.6 bugfixes

THaFormula copy constructor and assignment operators broken

Added by Ole Hansen over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/26/2017
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Responsible:

Description

Apparently I forgot to copy fVarDef, which is a vector<FVarDef_t>. Because the FVarDef_t structure in the vector sometimes manages resources itself, it needs a full set of copy/assignment/move operators for the vector to be happy (i.e. not crash).

I suspect I realized this when I rewrote THaFormula in late 2014 (the issue seems vaguely familiar), and I simply forgot to leave a "TODO" in the code.

Actions

Also available in: Atom PDF