mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-01 00:09:58 -05:00
Ubuntu 22.04 and GCC11 fixes (#2163)
* Update CEF version * Update Ghoul * Update SGCT * Update codegen * Remove warnings happening on Ubuntu 22.04 with GCC 11 * AppleClang warning fixes * Compile fix for Ubuntu and MacOS * Add Qt 6.2.3 to the CMAKE_PREFIX_PATH
This commit is contained in:
@@ -169,7 +169,7 @@ SkyBrowserModule::SkyBrowserModule()
|
||||
|
||||
// Set callback functions
|
||||
global::callback::mouseButton->emplace(global::callback::mouseButton->begin(),
|
||||
[&](MouseButton button, MouseAction action, KeyModifier) -> bool {
|
||||
[&](MouseButton, MouseAction action, KeyModifier) -> bool {
|
||||
if (action == MouseAction::Press) {
|
||||
_cameraRotation.stop();
|
||||
}
|
||||
@@ -218,7 +218,7 @@ SkyBrowserModule::SkyBrowserModule()
|
||||
// Trigger callbacks (should maybe have a check to see if update is needed)
|
||||
using K = CallbackHandle;
|
||||
using V = CallbackFunction;
|
||||
for (const std::pair<const K, V>& it : _preSyncCallbacks) {
|
||||
for (const std::pair<K, V>& it : _preSyncCallbacks) {
|
||||
it.second(); // call function
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user