diff options
Diffstat (limited to 'courgette/adjustment_method.cc')
-rw-r--r-- | courgette/adjustment_method.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/courgette/adjustment_method.cc b/courgette/adjustment_method.cc index 5a2f109..930dc59 100644 --- a/courgette/adjustment_method.cc +++ b/courgette/adjustment_method.cc @@ -219,7 +219,9 @@ class AssignmentProblem { AssignmentProblem(const Trace& model, const Trace& problem) : m_trace_(model), - p_trace_(problem) { + p_trace_(problem), + m_root_(NULL), + p_root_(NULL) { } ~AssignmentProblem() { @@ -579,7 +581,10 @@ class AssignmentProblem { class GraphAdjuster : public AdjustmentMethod { public: - GraphAdjuster() {} + GraphAdjuster() + : prog_(NULL), + model_(NULL), + debug_label_index_gen_(0) {} ~GraphAdjuster() {} bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) { |