Skip to content

Commit

Permalink
Remove text notification of deleted components (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed Feb 10, 2021
1 parent b35f6bc commit e7a7b05
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/OMSimulatorLib/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ oms_status_enu_t oms::System::delete_(const oms::ComRef& cref)
auto component = components.find(front);
if (component != components.end())
{
logInfo("Delete " + std::string(front));
//logInfo("Delete " + std::string(front));
deleteAllConectionsTo(front);
delete component->second;
components.erase(component);
Expand Down
1 change: 0 additions & 1 deletion testsuite/api/test03.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ oms_delete("test")
-- </ssd:DefaultExperiment>
-- </ssd:SystemStructureDescription>
--
-- info: Delete source
-- status: [correct] ok
-- <?xml version="1.0"?>
-- <ssd:SystemStructureDescription xmlns:ssc="http://ssp-standard.org/SSP1/SystemStructureCommon" xmlns:ssd="http://ssp-standard.org/SSP1/SystemStructureDescription" xmlns:ssv="http://ssp-standard.org/SSP1/SystemStructureParameterValues" xmlns:ssm="http://ssp-standard.org/SSP1/SystemStructureParameterMapping" xmlns:ssb="http://ssp-standard.org/SSP1/SystemStructureSignalDictionary" xmlns:oms="https://raw.githubusercontent.com/OpenModelica/OMSimulator/master/schema/oms.xsd" name="test" version="1.0">
Expand Down
1 change: 0 additions & 1 deletion testsuite/api/test03.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def printStatus(status, expected):
## </ssd:DefaultExperiment>
## </ssd:SystemStructureDescription>
##
## info: Delete source
## status: [correct] ok
## <?xml version="1.0"?>
## <ssd:SystemStructureDescription xmlns:ssc="http://ssp-standard.org/SSP1/SystemStructureCommon" xmlns:ssd="http://ssp-standard.org/SSP1/SystemStructureDescription" xmlns:ssv="http://ssp-standard.org/SSP1/SystemStructureParameterValues" xmlns:ssm="http://ssp-standard.org/SSP1/SystemStructureParameterMapping" xmlns:ssb="http://ssp-standard.org/SSP1/SystemStructureSignalDictionary" xmlns:oms="https://raw.githubusercontent.com/OpenModelica/OMSimulator/master/schema/oms.xsd" name="test" version="1.0">
Expand Down

0 comments on commit e7a7b05

Please sign in to comment.