summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
20e5b4e)
Change-Id: Idcd39862e5edb51433795a9e9632a21ee7f6270d
Signed-off-by: Minjae Lee <minjae17.lee@samsung.com>
- *__pSimInfoImpl = *rhs.__pSimInfoImpl;
+ if (rhs.__pSimInfoImpl != null)
+ {
+ if (__pSimInfoImpl != null)
+ {
+ *__pSimInfoImpl = *rhs.__pSimInfoImpl;
+ }
+ else
+ {
+ __pSimInfoImpl = new (std::nothrow) _SimInfoImpl(*rhs.__pSimInfoImpl);
+ }
+ }
+ else
+ {
+ delete __pSimInfoImpl;
+ __pSimInfoImpl = null;
+ }