Skip to content

Commit

Permalink
Merge branch 'getkey_to_getName' of https://github.com/GMLC-TDC/HELICS
Browse files Browse the repository at this point in the history
…into getkey_to_getName
  • Loading branch information
phlptp committed Apr 22, 2021
2 parents 336ce09 + 93b9617 commit 5f0ab12
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 203 deletions.
4 changes: 2 additions & 2 deletions src/helics/application_api/ValueFederate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ template<class Inp, class Obj>
static void loadOptions(ValueFederate* fed, const Inp& data, Obj& objUpdate)
{
using fileops::getOrDefault;

addTargets(data, "flags", [&objUpdate](const std::string& target) {
if (target.front() != '-') {
objUpdate.setOption(getOptionIndex(target), 1);
Expand Down Expand Up @@ -282,8 +282,8 @@ void ValueFederate::registerValueInterfacesJson(const std::string& jsonString)
void ValueFederate::registerValueInterfacesToml(const std::string& tomlString)
{
using fileops::getOrDefault;
using fileops::replaceIfMember;
using fileops::isMember;
using fileops::replaceIfMember;

toml::value doc;
try {
Expand Down
Loading

0 comments on commit 5f0ab12

Please sign in to comment.