From 7b9ce7a95b73bc4ed7ee4fa55cc4bb19f6e52c0b Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 22 Oct 2016 14:13:07 +0200 Subject: [PATCH] fix copy constructor in test output class --- tests/test-parse-xml2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-parse-xml2.cpp b/tests/test-parse-xml2.cpp index 88eeef5a4..86886378e 100644 --- a/tests/test-parse-xml2.cpp +++ b/tests/test-parse-xml2.cpp @@ -29,7 +29,7 @@ struct test_output_t : public output_t { } explicit test_output_t(const test_output_t &other) - : output_t(this->m_mid, this->m_options), sum_ids(0), num_nodes(0), num_ways(0), num_relations(0), + : output_t(other.m_mid, other.m_options), sum_ids(0), num_nodes(0), num_ways(0), num_relations(0), num_nds(0), num_members(0) { }