mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-21 19:27:09 +01:00
Update POCO library.
This commit is contained in:
1 parent
8d15f4b6e9
commit
233fc103f9
2521 files changed
+257092
-72789
No files matched your search
+4
-4
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user