frame::swap(frame& rhs) implementation missing swap(attributes, frm.attributes);.
frame::swap(frame& rhs)
swap(attributes, frm.attributes);