Force newest build to be Conan version.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2ad6e2a2eb
commit
4ee791c6cb
|
@ -86,5 +86,5 @@ steps:
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-conan -D CMAKE_C_COMPILER=/usr/bin/clang -D CMAKE_CXX_COMPILER=clang++ -DWINDOWS=0
|
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-conan -D CMAKE_C_COMPILER=/usr/bin/clang -D CMAKE_CXX_COMPILER=clang++ -DWINDOWS=0
|
||||||
- conan export-pkg . $DRONE_COMMIT@pkmnlib/$DRONE_BRANCH --build-folder build-conan -s compiler='clang' -s compiler.version=8 -s compiler.libcxx='libstdc++11'
|
- conan export-pkg . $DRONE_COMMIT@pkmnlib/$DRONE_BRANCH --build-folder build-conan -s compiler='clang' -s compiler.version=8 -s compiler.libcxx='libstdc++11'
|
||||||
- conan user -p -r=epsilon-public
|
- conan user -p -r=epsilon-public
|
||||||
- conan upload PkmnLib/$DRONE_COMMIT@pkmnlib/$DRONE_BRANCH --all -r=epsilon-public
|
- conan upload PkmnLib/$DRONE_COMMIT@pkmnlib/$DRONE_BRANCH --all -r=epsilon-public --force
|
||||||
- conan user --clean
|
- conan user --clean
|
|
@ -13,7 +13,7 @@ namespace PkmnLib::Library {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const PokemonSpecies* GetPkmnSpecies(const std::string& name) const {
|
inline const PokemonSpecies* GetPkmnSpecies(const std::string& name) const {
|
||||||
return reinterpret_cast<const PokemonSpecies*>(CreatureLib::Library::SpeciesLibrary::GetSpecies(name));
|
return dynamic_cast<const PokemonSpecies*>(CreatureLib::Library::SpeciesLibrary::GetSpecies(name));
|
||||||
}
|
}
|
||||||
|
|
||||||
const PokemonSpecies* operator[](const std::string& name) const { return GetPkmnSpecies(name); }
|
const PokemonSpecies* operator[](const std::string& name) const { return GetPkmnSpecies(name); }
|
||||||
|
|
Loading…
Reference in New Issue