Skip to content

Commit

Permalink
Clean unused namespace qualifier in runtime.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Jul 24, 2024
1 parent 24f42e1 commit 239316c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EnergyPlus/api/runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@ void setEnergyPlusRootDirectory(EnergyPlusState state, const char *path)
void issueWarning(EnergyPlusState state, const char *message)
{
auto *thisState = reinterpret_cast<EnergyPlus::EnergyPlusData *>(state); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast)
EnergyPlus::ShowWarningError(*thisState, message);
ShowWarningError(*thisState, message);
}
void issueSevere(EnergyPlusState state, const char *message)
{
auto *thisState = reinterpret_cast<EnergyPlus::EnergyPlusData *>(state); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast)
EnergyPlus::ShowSevereError(*thisState, message);
ShowSevereError(*thisState, message);
}
void issueText(EnergyPlusState state, const char *message)
{
auto *thisState = reinterpret_cast<EnergyPlus::EnergyPlusData *>(state); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast)
EnergyPlus::ShowContinueError(*thisState, message);
ShowContinueError(*thisState, message);
}

void registerProgressCallback([[maybe_unused]] EnergyPlusState state, std::function<void(int const)> f)
Expand Down

1 comment on commit 239316c

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ErrorHandling (Myoldmopar) - Win64-Windows-10-VisualStudio-16: OK (2852 of 2852 tests passed, 0 test warnings)

Build Badge Test Badge

Please sign in to comment.