mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -24,7 +24,7 @@ int main(int argc, char** argv)
|
||||
std::cout << "usage: " << argv[0] << ": [-i] [-x] pattern" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
std::string pattern;
|
||||
int options = 0;
|
||||
for (int i = 1; i < argc; ++i)
|
||||
@@ -37,9 +37,9 @@ int main(int argc, char** argv)
|
||||
else
|
||||
pattern = arg;
|
||||
}
|
||||
|
||||
|
||||
RegularExpression re(pattern, options);
|
||||
|
||||
|
||||
int c = std::cin.get();
|
||||
while (c != -1)
|
||||
{
|
||||
@@ -56,6 +56,6 @@ int main(int argc, char** argv)
|
||||
|
||||
if (c != -1) c = std::cin.get();
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user