Change-Id: Ia8737a8b74d5143fbae073a42f8b7eafc143fe7b
Signed-off-by: Jaemin Ahn <j.m.ahn@samsung.com>
return *this;
}
- __pNetEndPointImpl = rhs.__pNetEndPointImpl;
+ if (rhs.__pNetEndPointImpl != null)
+ {
+ if (__pNetEndPointImpl != null)
+ {
+ *__pNetEndPointImpl = *rhs.__pNetEndPointImpl;
+ }
+ else
+ {
+ __pNetEndPointImpl = new (std::nothrow) _NetEndPointImpl(*rhs.__pNetEndPointImpl);
+ }
+ }
+ else
+ {
+ delete __pNetEndPointImpl;
+ __pNetEndPointImpl = null;
+ }
return *this;
}