From a9fa9c1f69e473806b63c5a44c1d65f2e3b9c03e Mon Sep 17 00:00:00 2001 From: Jaehwan Lee Date: Fri, 5 Apr 2013 15:42:09 +0900 Subject: [PATCH] Fixed missing implementation of copy ctor/ assignment operator Change-Id: I1f0ff42fd71ecb7050805f72e8523d0f1672b9b9 Signed-off-by: Jaehwan Lee --- inc/FNetWifiWifiBssInfo.h | 2 +- src/wifi/FNetWifiWifiDirectGroupMember.cpp | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/inc/FNetWifiWifiBssInfo.h b/inc/FNetWifiWifiBssInfo.h index 8740d70..a140cb4 100644 --- a/inc/FNetWifiWifiBssInfo.h +++ b/inc/FNetWifiWifiBssInfo.h @@ -381,7 +381,7 @@ public: * * @return An error code * @param[in] address The proxy address containing the IP address and port. @n - * For instance, 'proxy.example.com:3125' or '192.168.0.1:8080' + * For example, 'proxy.example.com:3125' or '192.168.0.1:8080'. * @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of this operation. * For example, the specified input type is @c NET_PROXY_TYPE_NONE. * @remarks The existing proxy address is unset when the input argument is an empty string. diff --git a/src/wifi/FNetWifiWifiDirectGroupMember.cpp b/src/wifi/FNetWifiWifiDirectGroupMember.cpp index d348712..2f6c23d 100644 --- a/src/wifi/FNetWifiWifiDirectGroupMember.cpp +++ b/src/wifi/FNetWifiWifiDirectGroupMember.cpp @@ -32,6 +32,25 @@ WifiDirectGroupMember::WifiDirectGroupMember(void) } +WifiDirectGroupMember::WifiDirectGroupMember(const WifiDirectGroupMember& value) + : _groupMemberType(value._groupMemberType) + , _pWifiDirectGroupMemberImpl(null) +{ + +} + +WifiDirectGroupMember& +WifiDirectGroupMember::operator =(const WifiDirectGroupMember& rhs) +{ + if (this != &rhs) + { + _groupMemberType = rhs._groupMemberType; + _pWifiDirectGroupMemberImpl= null; + } + + return *this; +} + WifiDirectGroupMemberType WifiDirectGroupMember::GetGroupMemberType(void) const -- 2.7.4