Skip to content

Commit

Permalink
fix clang CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rtri committed Feb 21, 2019
1 parent e31e19b commit 85d4936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rts/Sim/Projectiles/ExplosionGenerator.cpp
Expand Up @@ -87,7 +87,7 @@ static uint8_t exploParserMem[sizeof(LuaParser)];
static uint8_t aliasParserMem[sizeof(LuaParser)];
static uint8_t explTblRootMem[sizeof(LuaTable )];

static constexpr size_t CEG_PREFIX_STRLEN = strlen(CEG_PREFIX_STRING);
static const/*expr*/ size_t CEG_PREFIX_STRLEN = strlen(CEG_PREFIX_STRING);

CExplosionGeneratorHandler explGenHandler;

Expand Down Expand Up @@ -322,7 +322,7 @@ unsigned int CExplosionGeneratorHandler::LoadGeneratorID(const char* tag, const
// must NOT be overwritten
IExplosionGenerator* CExplosionGeneratorHandler::LoadGenerator(const char* tag, const char* pre)
{
decltype(expGenIdentNameMap)::mapped_type key = {0};
decltype(expGenIdentNameMap)::mapped_type key = {{0}};

char* ptr = key.data();
char* sep = nullptr;
Expand Down

0 comments on commit 85d4936

Please sign in to comment.