Skip to content

Commit

Permalink
Remove unnecessary namespace specifier in API implementation code
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Jul 23, 2024
1 parent a944b98 commit ec58bb0
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 115 deletions.
4 changes: 2 additions & 2 deletions src/EnergyPlus/api/EnergyPlusPgm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ int RunEnergyPlus(EnergyPlus::EnergyPlusData &state, std::string const &filepath
} catch (const EnergyPlus::FatalError &e) {
return EnergyPlus::AbortEnergyPlus(state);
} catch (const std::exception &e) {
EnergyPlus::ShowSevereError(state, e.what());
ShowSevereError(state, e.what());
return EnergyPlus::AbortEnergyPlus(state);
}
return wrapUpEnergyPlus(state);
Expand Down Expand Up @@ -459,7 +459,7 @@ int runEnergyPlusAsLibrary(EnergyPlus::EnergyPlusData &state, const std::vector<
} catch (const EnergyPlus::FatalError &e) {
return EnergyPlus::AbortEnergyPlus(state);
} catch (const std::exception &e) {
EnergyPlus::ShowSevereError(state, e.what());
ShowSevereError(state, e.what());
return EnergyPlus::AbortEnergyPlus(state);
}
return wrapUpEnergyPlus(state);
Expand Down
Loading

0 comments on commit ec58bb0

Please sign in to comment.