diff --git a/.github/workflows/core-build.yml b/.github/workflows/core-build.yml index ce3e176..e1c0568 100644 --- a/.github/workflows/core-build.yml +++ b/.github/workflows/core-build.yml @@ -8,8 +8,8 @@ jobs: strategy: fail-fast: false matrix: - compiler: [clang6, clang9, clang10] - runs-on: ubuntu-20.04 + compiler: [clang] + runs-on: ubuntu-latest name: ${{ matrix.compiler }} env: COMPILER: ${{ matrix.compiler }} diff --git a/src/mod_learnspells.cpp b/src/mod_learnspells.cpp index 5de4c8a..5da8d7d 100644 --- a/src/mod_learnspells.cpp +++ b/src/mod_learnspells.cpp @@ -271,7 +271,7 @@ private: auto spellsForPlayersFamily = spellsMap.find(playerSpellFamily); if (spellsForPlayersFamily != spellsMap.end()) { - vector additionalSpellsToTeach = spellsForPlayersFamily->second; + std::vector additionalSpellsToTeach = spellsForPlayersFamily->second; for (auto const& spell : additionalSpellsToTeach) { if (!(player->HasSpell(spell.spellId)) && (spell.faction == TeamId::TEAM_NEUTRAL || spell.faction == player->GetTeamId()))