From 0ea6ee07edc65c3339971ba8dfaededa09479ffd Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Mon, 5 Feb 2024 11:02:44 -0500 Subject: [PATCH] fix missed change of const char* to std::string (GCC 11+ didn't catch this but 4.9 did? Isn't that something?); --- src/host/dmr/lookups/DMRAffiliationLookup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/host/dmr/lookups/DMRAffiliationLookup.cpp b/src/host/dmr/lookups/DMRAffiliationLookup.cpp index 66c4df8d..f2c27a24 100644 --- a/src/host/dmr/lookups/DMRAffiliationLookup.cpp +++ b/src/host/dmr/lookups/DMRAffiliationLookup.cpp @@ -102,7 +102,7 @@ bool DMRAffiliationLookup::grantChSlot(uint32_t dstId, uint32_t srcId, uint8_t s if (m_verbose) { LogMessage(LOG_HOST, "%s, granting channel, chNo = %u, slot = %u, dstId = %u, group = %u", - m_name, chNo, slot, dstId, grp); + m_name.c_str(), chNo, slot, dstId, grp); } return true; @@ -121,7 +121,7 @@ bool DMRAffiliationLookup::releaseGrant(uint32_t dstId, bool releaseAll) // are we trying to release all grants? if (dstId == 0U && releaseAll) { - LogWarning(LOG_HOST, "%s, force releasing all channel grants", m_name); + LogWarning(LOG_HOST, "%s, force releasing all channel grants", m_name.c_str()); std::vector gntsToRel = std::vector(); for (auto entry : m_grantChTable) { @@ -144,7 +144,7 @@ bool DMRAffiliationLookup::releaseGrant(uint32_t dstId, bool releaseAll) if (m_verbose) { LogMessage(LOG_HOST, "%s, releasing channel grant, chNo = %u, slot = %u, dstId = %u", - m_name, chNo, slot, dstId); + m_name.c_str(), chNo, slot, dstId); } if (m_releaseGrant != nullptr) {