Skip to content

Commit

Permalink
oiio: fixed move constructor of ParamValue class. (#1740)
Browse files Browse the repository at this point in the history
  • Loading branch information
edubois authored and lgritz committed Aug 8, 2017
1 parent e50099d commit 062dfab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/include/OpenImageIO/paramlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class OIIO_API ParamValue {
: m_name(p.m_name), m_nvalues(p.m_nvalues), m_interp(p.m_interp),
m_copy(p.m_copy), m_nonlocal(p.m_nonlocal)
{
m_type = p.m_type;
m_data.ptr = p.m_data.ptr;
p.m_data.ptr = nullptr;
}
Expand Down

0 comments on commit 062dfab

Please sign in to comment.