fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "licence_handler.h"
|
||||
#include <utility>
|
||||
#include "dds_handler.h"
|
||||
#include <QtCore/QFile>
|
||||
#include <LtsLicence/aes_crypt.h>
|
||||
@@ -28,7 +29,7 @@ LicenceHandler::LicenceHandler(const std::shared_ptr<DdsHandler> &ddsHandler, co
|
||||
|
||||
LicenceHandler::~LicenceHandler()
|
||||
{
|
||||
for (const LtsLicence::Licence &info : qAsConst(m_licenceVec))
|
||||
for (const LtsLicence::Licence &info : std::as_const(m_licenceVec))
|
||||
m_ddsHandler->dts()->removeLicenceInformationByKey(info.name.toStdString());
|
||||
} // end of dtor()
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -302,7 +303,7 @@ QString LicenceHandler::dumpLicenceInformation(const LtsLicence::Licence &licenc
|
||||
|
||||
void LicenceHandler::publishAllData()
|
||||
{
|
||||
for (const LtsLicence::Licence &info : qAsConst(m_licenceVec))
|
||||
for (const LtsLicence::Licence &info : std::as_const(m_licenceVec))
|
||||
publishData(info);
|
||||
} // end of publishAllData()
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user