mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-28 15:41:22 +01:00
fixed a namespace bug in POCO_APP_MAIN macro
This commit is contained in:
@@ -457,7 +457,7 @@ inline Poco::Timespan Application::uptime() const
|
||||
catch (Poco::Exception& exc) \
|
||||
{ \
|
||||
pApp->logger().log(exc); \
|
||||
return Application::EXIT_CONFIG;\
|
||||
return Poco::Util::Application::EXIT_CONFIG;\
|
||||
} \
|
||||
return pApp->run(); \
|
||||
}
|
||||
@@ -473,7 +473,7 @@ inline Poco::Timespan Application::uptime() const
|
||||
catch (Poco::Exception& exc) \
|
||||
{ \
|
||||
pApp->logger().log(exc); \
|
||||
return Application::EXIT_CONFIG;\
|
||||
return Poco::Util::Application::EXIT_CONFIG;\
|
||||
} \
|
||||
return pApp->run(); \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user