Skip to content

Commit

Permalink
update writeValue in FakeTimeDev to use std::string instead of CIEC_S…
Browse files Browse the repository at this point in the history
…TRING

required by #177
  • Loading branch information
ernstblechaPT committed Jul 22, 2024
1 parent 6bb5ff5 commit c0d29fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/stdfblib/ita/FakeTimeDev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CDataConnection **FakeTimeDev::getDIConUnchecked(const TPortId paIndex) {
return nullptr;
}

EMGMResponse FakeTimeDev::writeValue(forte::core::TNameIdentifier &paNameList, const CIEC_STRING & paValue, bool paForce) {
EMGMResponse FakeTimeDev::writeValue(forte::core::TNameIdentifier &paNameList, const std::string & paValue, bool paForce) {
// parent writeValue is modifying the name list so we need to get the name as backup here
CStringDictionary::TStringId portName = paNameList.back();
EMGMResponse eRetVal = CDevice::writeValue(paNameList, paValue, paForce);
Expand Down
2 changes: 1 addition & 1 deletion src/stdfblib/ita/FakeTimeDev.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class FakeTimeDev : public CDevice{

EMGMResponse changeFBExecutionState(EMGMCommandType paCommand) override;

EMGMResponse writeValue(forte::core::TNameIdentifier &paNameList, const CIEC_STRING & paValue, bool paForce = false) override;
EMGMResponse writeValue(forte::core::TNameIdentifier &paNameList, const std::string & paValue, bool paForce = false) override;

private:
CInterface2InternalDataConnection mDConnMGR_ID;
Expand Down

0 comments on commit c0d29fb

Please sign in to comment.