fix Warning

This commit is contained in:
berrux-dev committed 2026-10-03 09:20:13 +02:00
1 parent 593c221d23
commit 8345470273
316 files changed
+1246 -929

No files matched your search

@@ -7,14 +7,14 @@
#include <NGLLogger/NGLLoggerBootstrap.h>
Initialisation::Initialisation()
: m_domainParticipant(nullptr)
: m_logger(NGL::NGLLoggerBootstrap::getNGLRootLogger().getNGLLogger("UnitTests.Initialisation"))
, m_domainParticipant(nullptr)
, m_domainParticipantSub(nullptr)
, m_domainId(0)
, m_exerciseId(-1)
, m_ddsPublisher(nullptr)
, m_ddsSubscriber(nullptr)
, m_subListener(new DDSGeneric::SubscriberListener)
, m_logger(NGL::NGLLoggerBootstrap::getNGLRootLogger().getNGLLogger("UnitTests.Initialisation"))
{
if (!DDS::QosProfile::setDefault())
ERROR_LOG(m_logger) << "Error setting default QoS from xml-file ";
@@ -115,7 +115,7 @@ void Threading::preInit() const
}
bremse--;
const int lenRest = maxLen - name.count();
const int lenRest = maxLen - name.size();
if (lenRest < 1)
{
Q_ASSERT(false);
@@ -143,7 +143,7 @@ void Threading::preInit() const
const int finalLeft = maxLen - name.count();
const int finalLeft = maxLen - name.size();
if (finalLeft < 0 || (finalLeft > 0 && functionTopicName().length() > maxLen))
{