Fix style violations

This commit is contained in:
Gunnar Beutner 2015-03-21 10:04:14 +01:00
parent 7c0749679c
commit 3d1aba3287
2 changed files with 2 additions and 2 deletions

View File

@ -995,7 +995,7 @@ void ExternalCommandProcessor::ProcessFile(double, const std::vector<String>& ar
ifp.open(file.CStr(), std::ifstream::in); ifp.open(file.CStr(), std::ifstream::in);
while(ifp.good()) { while (ifp.good()) {
std::string line; std::string line;
std::getline(ifp, line); std::getline(ifp, line);

View File

@ -312,7 +312,7 @@ bool MacroProcessor::ValidateMacroString(const String& macro)
size_t pos_first, pos_second, offset; size_t pos_first, pos_second, offset;
offset = 0; offset = 0;
while((pos_first = macro.FindFirstOf("$", offset)) != String::NPos) { while ((pos_first = macro.FindFirstOf("$", offset)) != String::NPos) {
pos_second = macro.FindFirstOf("$", pos_first + 1); pos_second = macro.FindFirstOf("$", pos_first + 1);
if (pos_second == String::NPos) if (pos_second == String::NPos)