added missing virtual destructors

This commit is contained in:
Erris
2026-02-10 09:42:15 +01:00
parent 14be855a9a
commit a53150d228
2 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ namespace OpenEngine {
class Event
{
public:
virtual ~Event() = default;
virtual EventType GetEventType() const = 0;
virtual const char* GetName() const = 0;
virtual int GetCategoryFlags() const = 0;

View File

@@ -1,6 +1,8 @@
#ifndef FRAMEBUFFER_HPP
#define FRAMEBUFFER_HPP
#include "open_engine/ref_scope.hpp"
#include <cstdint>
namespace OpenEngine {
@@ -15,6 +17,7 @@ namespace OpenEngine {
class FrameBuffer
{
public:
virtual ~FrameBuffer() = default;
virtual void Bind() = 0;
virtual void Unbind() = 0;