mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-03-30 04:56:54 +00:00
Fix build with protobuf 30
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20300
This commit is contained in:
parent
b7ef57a97d
commit
5774338af2
@ -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…
Reference in New Issue
Block a user