Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: MapEntry.cpp
- Revision:
- 20:f2dbbd852e08
- Parent:
- 12:9af48d60705f
--- a/MapEntry.cpp Wed Feb 26 07:22:26 2014 +0000 +++ b/MapEntry.cpp Wed Feb 26 18:59:01 2014 +0000 @@ -38,16 +38,6 @@ strncpy(this->m_ioc_nickname,ioc_nickname,this->min(strlen(ioc_nickname),MAX_NAME_LENGTH)); } - // copy constructor - MapEntry::MapEntry(MapEntry &entry) { - memset(this->m_mbed_name,0,MAX_NAME_LENGTH+1); - memset(this->m_ioc_name,0,MAX_NAME_LENGTH+1); - memset(this->m_ioc_nickname,0,MAX_NAME_LENGTH+1); - strcpy(this->m_mbed_name,entry.m_mbed_name); - strcpy(this->m_ioc_name,entry.m_ioc_name); - strcpy(this->m_ioc_nickname,entry.m_ioc_nickname); - } - // destructor MapEntry::~MapEntry() { }