mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06: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:
@@ -101,7 +101,7 @@ public:
|
||||
SessionRecording();
|
||||
SessionRecording(bool isGlobal);
|
||||
|
||||
~SessionRecording();
|
||||
~SessionRecording() override;
|
||||
|
||||
/**
|
||||
* Used to de-initialize the session recording feature. Any recording or playback
|
||||
@@ -837,7 +837,7 @@ protected:
|
||||
class SessionRecording_legacy_0085 : public SessionRecording {
|
||||
public:
|
||||
SessionRecording_legacy_0085() : SessionRecording() {}
|
||||
~SessionRecording_legacy_0085() {}
|
||||
~SessionRecording_legacy_0085() override {}
|
||||
char FileHeaderVersion[FileHeaderVersionLength+1] = "00.85";
|
||||
char TargetConvertVersion[FileHeaderVersionLength+1] = "01.00";
|
||||
std::string fileFormatVersion() override {
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace openspace::interaction {
|
||||
class ConvertRecFileVersionTask : public Task {
|
||||
public:
|
||||
ConvertRecFileVersionTask(const ghoul::Dictionary& dictionary);
|
||||
~ConvertRecFileVersionTask();
|
||||
~ConvertRecFileVersionTask() override;
|
||||
std::string description() override;
|
||||
void perform(const Task::ProgressCallback& progressCallback) override;
|
||||
static documentation::Documentation documentation();
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
ToBinary
|
||||
};
|
||||
ConvertRecFormatTask(const ghoul::Dictionary& dictionary);
|
||||
~ConvertRecFormatTask();
|
||||
~ConvertRecFormatTask() override;
|
||||
std::string description() override;
|
||||
void perform(const Task::ProgressCallback& progressCallback) override;
|
||||
static documentation::Documentation documentation();
|
||||
|
||||
@@ -61,7 +61,7 @@ class PathNavigator;
|
||||
class NavigationHandler : public properties::PropertyOwner {
|
||||
public:
|
||||
NavigationHandler();
|
||||
~NavigationHandler();
|
||||
virtual ~NavigationHandler() override;
|
||||
|
||||
void initialize();
|
||||
void deinitialize();
|
||||
|
||||
@@ -51,7 +51,7 @@ class Path;
|
||||
class PathNavigator : public properties::PropertyOwner {
|
||||
public:
|
||||
PathNavigator();
|
||||
~PathNavigator();
|
||||
virtual ~PathNavigator() override;
|
||||
|
||||
// Accessors
|
||||
Camera* camera() const;
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace scripting { struct LuaLibrary; }
|
||||
class ParallelPeer : public properties::PropertyOwner {
|
||||
public:
|
||||
ParallelPeer();
|
||||
~ParallelPeer();
|
||||
~ParallelPeer() override;
|
||||
|
||||
void connect();
|
||||
void setPort(std::string port);
|
||||
|
||||
@@ -35,7 +35,7 @@ class ListProperty : public TemplateProperty<std::vector<T>> {
|
||||
public:
|
||||
ListProperty(Property::PropertyInfo info, std::vector<T> values);
|
||||
|
||||
virtual ~ListProperty() = 0;
|
||||
virtual ~ListProperty() override = 0;
|
||||
};
|
||||
|
||||
} // namespace openspace::properties
|
||||
|
||||
@@ -77,7 +77,7 @@ public:
|
||||
* The destructor will remove all Propertys and PropertyOwners it owns along with
|
||||
* itself.
|
||||
*/
|
||||
virtual ~PropertyOwner();
|
||||
virtual ~PropertyOwner() override;
|
||||
|
||||
/**
|
||||
* Sets the identifier for this PropertyOwner. If the PropertyOwner does not have an
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace scripting { struct LuaLibrary; }
|
||||
class Dashboard : public properties::PropertyOwner {
|
||||
public:
|
||||
Dashboard();
|
||||
~Dashboard() = default;
|
||||
virtual ~Dashboard() override = default;
|
||||
|
||||
void render(glm::vec2& penPosition);
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ class FramebufferRenderer : public RaycasterListener,
|
||||
public DeferredcasterListener
|
||||
{
|
||||
public:
|
||||
virtual ~FramebufferRenderer() = default;
|
||||
virtual ~FramebufferRenderer() override final = default;
|
||||
|
||||
void initialize();
|
||||
void deinitialize();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace openspace {
|
||||
class LuaConsole : public properties::PropertyOwner {
|
||||
public:
|
||||
LuaConsole();
|
||||
~LuaConsole();
|
||||
~LuaConsole() override;
|
||||
|
||||
void initialize();
|
||||
void deinitialize();
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
ghoul::Dictionary dictionary);
|
||||
|
||||
Renderable(const ghoul::Dictionary& dictionary);
|
||||
virtual ~Renderable() = default;
|
||||
virtual ~Renderable() override = default;
|
||||
|
||||
virtual void initialize();
|
||||
virtual void initializeGL();
|
||||
|
||||
@@ -66,7 +66,7 @@ struct ShutdownInformation;
|
||||
class RenderEngine : public properties::PropertyOwner {
|
||||
public:
|
||||
RenderEngine();
|
||||
~RenderEngine();
|
||||
virtual ~RenderEngine() override;
|
||||
|
||||
void initialize();
|
||||
void initializeGL();
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
static constexpr const char* KeyIdentifier = "Identifier";
|
||||
|
||||
ScreenSpaceRenderable(const ghoul::Dictionary& dictionary);
|
||||
virtual ~ScreenSpaceRenderable();
|
||||
virtual ~ScreenSpaceRenderable() override;
|
||||
|
||||
virtual void render();
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
LightSource();
|
||||
LightSource(const ghoul::Dictionary& dictionary);
|
||||
virtual ~LightSource() = default;
|
||||
~LightSource() override = default;
|
||||
|
||||
virtual glm::vec3 directionViewSpace(const RenderData& renderData) const = 0;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
const ghoul::Dictionary& dictionary);
|
||||
|
||||
Rotation();
|
||||
virtual ~Rotation() = default;
|
||||
virtual ~Rotation() override = default;
|
||||
|
||||
virtual bool initialize();
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
const ghoul::Dictionary& dictionary);
|
||||
|
||||
Scale();
|
||||
virtual ~Scale() = default;
|
||||
virtual ~Scale() override = default;
|
||||
|
||||
virtual bool initialize();
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
|
||||
// constructors & destructor
|
||||
Scene(std::unique_ptr<SceneInitializer> initializer);
|
||||
~Scene();
|
||||
virtual ~Scene() override;
|
||||
|
||||
/**
|
||||
* Clear the scene graph,
|
||||
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
static constexpr const char* KeyTag = "Tag";
|
||||
|
||||
SceneGraphNode();
|
||||
~SceneGraphNode();
|
||||
virtual ~SceneGraphNode() override;
|
||||
|
||||
static ghoul::mm_unique_ptr<SceneGraphNode> createFromDictionary(
|
||||
const ghoul::Dictionary& dictionary);
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
const ghoul::Dictionary& dictionary);
|
||||
|
||||
TimeFrame();
|
||||
virtual ~TimeFrame() = default;
|
||||
virtual ~TimeFrame() override = default;
|
||||
|
||||
virtual bool initialize();
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
const ghoul::Dictionary& dictionary);
|
||||
|
||||
Translation();
|
||||
virtual ~Translation() = default;
|
||||
virtual ~Translation() override = default;
|
||||
virtual bool initialize();
|
||||
|
||||
virtual void update(const UpdateData& data);
|
||||
|
||||
@@ -375,7 +375,7 @@ public:
|
||||
* This destructor will cancel any ongoing download and wait for its completion, so it
|
||||
* might not block for a short amount of time.
|
||||
*/
|
||||
virtual ~HttpFileDownload() = default;
|
||||
virtual ~HttpFileDownload() override = default;
|
||||
|
||||
/**
|
||||
* Returns the path where the contents of the URL provided in the constructor will be
|
||||
@@ -443,7 +443,7 @@ public:
|
||||
* This destructor will cancel any ongoing download and wait for its completion, so it
|
||||
* might not block for a short amount of time.
|
||||
*/
|
||||
virtual ~HttpMemoryDownload() = default;
|
||||
virtual ~HttpMemoryDownload() override = default;
|
||||
|
||||
/**
|
||||
* Returns a reference to the buffer that is used to store the contents of the URL
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
OpenSpaceModule(std::string name);
|
||||
|
||||
/// Default destructor
|
||||
virtual ~OpenSpaceModule() = default;
|
||||
virtual ~OpenSpaceModule() override = default;
|
||||
|
||||
/**
|
||||
* Initialization method that will register a token of the form
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
~ScreenLog() = default;
|
||||
~ScreenLog() override = default;
|
||||
|
||||
/**
|
||||
* Overwritten ghoul::loggling::Log method that is called whenever a new log message
|
||||
|
||||
Reference in New Issue
Block a user