Update POCO library.

This commit is contained in:
Sandu Liviu Catalin committed 2023-03-23 20:19:11 +02:00
1 parent 8d15f4b6e9
commit 233fc103f9
2521 files changed
+257092 -72789

No files matched your search

+4 -4
View File
@@ -24,11 +24,11 @@ using Poco::Exception;
int main(int argc, char** argv)
{
UUID uuid;
std::string arg;
if (argc > 1)
arg = argv[1];
try
{
if (arg == "-random")
@@ -37,7 +37,7 @@ int main(int argc, char** argv)
uuid = UUIDGenerator::defaultGenerator().create();
else
uuid = UUIDGenerator::defaultGenerator().createFromName(UUID::uri(), arg);
std::cout << uuid.toString() << std::endl;
}
catch (Exception& exc)
@@ -45,6 +45,6 @@ int main(int argc, char** argv)
std::cerr << exc.displayText() << std::endl;
return 1;
}
return 0;
}