Fix clang-tidy readability-redundant-string-cstr warnings

This commit is contained in:
Eduardo Almeida
2022-10-17 20:35:40 +00:00
parent 219d958ee4
commit 7c182618ed
74 changed files with 215 additions and 220 deletions

View File

@@ -146,7 +146,7 @@ ComputeSnr(const ComputeSnrParams& params)
}
/**
* Generates a GNU-plottable file representig the buildings deployed in the
* Generates a GNU-plottable file representing the buildings deployed in the
* scenario
* \param filename the name of the output file
*/
@@ -154,7 +154,7 @@ void
PrintGnuplottableBuildingListToFile(std::string filename)
{
std::ofstream outFile;
outFile.open(filename.c_str(), std::ios_base::out | std::ios_base::trunc);
outFile.open(filename, std::ios_base::out | std::ios_base::trunc);
if (!outFile.is_open())
{
NS_LOG_ERROR("Can't open file " << filename);