From 9c7a4c7adc173f6578ee57e327cff99ce6ae321e Mon Sep 17 00:00:00 2001 From: Larry Gritz Date: Thu, 17 Nov 2022 17:59:10 -0800 Subject: [PATCH] Try to squash warning in gcc 12.1 + C++20 --- src/rla.imageio/rlainput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rla.imageio/rlainput.cpp b/src/rla.imageio/rlainput.cpp index dd5226124c..c484ed2a67 100644 --- a/src/rla.imageio/rlainput.cpp +++ b/src/rla.imageio/rlainput.cpp @@ -330,7 +330,7 @@ RLAInput::seek_subimage(int subimage, int miplevel) m_spec.z_channel = z_channel; if (m_spec.channelnames.size() < size_t(z_channel + 1)) m_spec.channelnames.resize(z_channel + 1); - m_spec.channelnames[z_channel] = "Z"; + m_spec.channelnames[z_channel] = std::string("Z"); } } m_stride += m_rla.NumOfAuxChannels * aux_type.size();