提交 21c23ee3 编写于 作者: P Pavel Kartavyy

fix constness

上级 ebafc241
......@@ -88,7 +88,7 @@ void tryLogException(std::exception_ptr e, Poco::Logger * logger, const std::str
std::string getExceptionMessage(std::exception_ptr e, bool with_stacktrace);
void rethrowFirstException(Exceptions & exceptions);
void rethrowFirstException(const Exceptions & exceptions);
std::unique_ptr<Poco::Exception> convertCurrentException();
......
......@@ -139,7 +139,7 @@ std::unique_ptr<Poco::Exception> convertCurrentException()
}
void rethrowFirstException(Exceptions & exceptions)
void rethrowFirstException(const Exceptions & exceptions)
{
for (size_t i = 0, size = exceptions.size(); i < size; ++i)
if (exceptions[i])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册