diff options
-rw-r--r-- | src/3rd_party-static/MessageBroker/src/lib_messagebroker/CMessageBrokerRegistry.cpp | 2 | ||||
-rw-r--r-- | src/components/utils/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/3rd_party-static/MessageBroker/src/lib_messagebroker/CMessageBrokerRegistry.cpp b/src/3rd_party-static/MessageBroker/src/lib_messagebroker/CMessageBrokerRegistry.cpp index 1e63f0ba31..fb24d08f1c 100644 --- a/src/3rd_party-static/MessageBroker/src/lib_messagebroker/CMessageBrokerRegistry.cpp +++ b/src/3rd_party-static/MessageBroker/src/lib_messagebroker/CMessageBrokerRegistry.cpp @@ -77,7 +77,7 @@ namespace NsMessageBroker std::map <std::string, int>::iterator it = mControllersList.begin(); for (; it != mControllersList.end();) { if (it->second == fd) { - mControllersList.erase(it); + mControllersList.erase(it++); } else { ++it; } diff --git a/src/components/utils/CMakeLists.txt b/src/components/utils/CMakeLists.txt index 3ebabe9043..af5afa028a 100644 --- a/src/components/utils/CMakeLists.txt +++ b/src/components/utils/CMakeLists.txt @@ -80,7 +80,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "QNX") ) endif() -add_library("Utils" SHARED ${SOURCES}) +add_library("Utils" ${SOURCES}) if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") list(APPEND LIBRARIES dl) |