mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix build with protobuf 30
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20300 (cherry picked from commit 5774338af2e22e1ff541ad9ab368e459e2a2add2) Co-authored-by: Jon Evans <jon@craftyjon.com>
This commit is contained in:
parent
3446dbbf27
commit
b837dc1d3b
@ -93,9 +93,9 @@ protected:
|
||||
void registerHandler( HANDLER_RESULT<ResponseType> ( HandlerType::*aHandler )(
|
||||
const HANDLER_CONTEXT<RequestType>& ) )
|
||||
{
|
||||
std::string typeName = RequestType().GetTypeName();
|
||||
std::string typeName { RequestType().GetTypeName() };
|
||||
|
||||
wxASSERT_MSG( !m_handlers.count( typeName ),
|
||||
wxASSERT_MSG( !m_handlers.contains( typeName ),
|
||||
wxString::Format( "Duplicate API handler for type %s", typeName ) );
|
||||
|
||||
m_handlers[typeName] =
|
||||
|
Loading…
x
Reference in New Issue
Block a user