Commit a82a0356 authored by Dominik Charousset's avatar Dominik Charousset

Fix uninitialized ref count when using copy ctor

parent 8678de68
......@@ -25,7 +25,7 @@ ref_counted::~ref_counted() {
// nop
}
ref_counted::ref_counted(const ref_counted&) {
ref_counted::ref_counted(const ref_counted&) : m_rc(0) {
// nop; don't copy reference count
}
......
Markdown is supported
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