Task #91415 - fixed.err
back to task #91415download
Error: COMPILER_WARNING (CWE-477):
libkexiv2-25.08.2/src/rotationmatrix.cpp: scope_hint: In member function ‘KExiv2Iface::RotationMatrix& KExiv2Iface::RotationMatrix::operator*=(QList<TransformationAction>)’
libkexiv2-25.08.2/src/rotationmatrix.cpp:175:55: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<KExiv2Iface::RotationMatrix::TransformationAction>; typename std::add_const<_Tp>::type = const QList<KExiv2Iface::RotationMatrix::TransformationAction>]’ is deprecated: Use std::as_const() instead.
# 175 | for (const TransformationAction& action : qAsConst(actions))
# | ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qforeach.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qglobal.h:55: included_from: Included from here.
/usr/include/qt6/QtCore/qnamespace.h:12: included_from: Included from here.
/usr/include/qt6/QtCore/qbytearray.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/QByteArray:1: included_from: Included from here.
libkexiv2-25.08.2/src/kexiv2.h:17: included_from: Included from here.
libkexiv2-25.08.2/src/rotationmatrix.h:14: included_from: Included from here.
libkexiv2-25.08.2/src/rotationmatrix.cpp:10: included_from: Included from here.
/usr/include/qt6/QtCore/qttypetraits.h:40:45: note: declared here
# 40 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
# | ^~~~~~~~
# 173| RotationMatrix& RotationMatrix::operator*=(QList<TransformationAction> actions)
# 174| {
# 175|-> for (const TransformationAction& action : qAsConst(actions))
# 176| {
# 177| *this *= Matrix::matrix(action);