mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 23:09:32 -05:00
CMake cleanup (#2489)
* CMake Cleanup * Warning suppression with CEF * Use SGCT tinyxml in skybrowser for now * Disable warnings about missing field initializers
This commit is contained in:
@@ -145,7 +145,7 @@ std::array<LayerGroup*, LayerManager::NumLayerGroups> LayerManager::layerGroups(
|
||||
ZoneScoped
|
||||
|
||||
std::array<LayerGroup*, NumLayerGroups> res = {};
|
||||
for (int i = 0; i < NumLayerGroups; ++i) {
|
||||
for (size_t i = 0; i < NumLayerGroups; ++i) {
|
||||
res[i] = _layerGroups[i].get();
|
||||
}
|
||||
return res;
|
||||
|
||||
@@ -1713,7 +1713,7 @@ void RenderableGlobe::recompileShaders() {
|
||||
}
|
||||
|
||||
ghoul::Dictionary layerGroupNames;
|
||||
for (int i = 0; i < layers::Groups.size(); ++i) {
|
||||
for (size_t i = 0; i < layers::Groups.size(); ++i) {
|
||||
layerGroupNames.setValue(
|
||||
std::to_string(i),
|
||||
std::string(layers::Groups[i].identifier)
|
||||
|
||||
Reference in New Issue
Block a user