summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric_Luo <hnywolf@gmail.com>2022-11-29 03:04:24 +0800
committerGitHub <noreply@github.com>2022-11-28 19:04:24 +0000
commitafe12dc90b7aaa83544179d8a17a67c5e1988578 (patch)
treeea284ecd570e1d78e0b806bcaef0ca7df15815a5
parent45d2d1e97d3fe543ad23626f74a8c307cb008962 (diff)
Fix a compiler warning (#1124)
Co-authored-by: hnboy <hnboy@users.noreply.github.com>
-rw-r--r--docs/Hyprland.12
-rw-r--r--docs/hyprctl.12
-rw-r--r--src/layout/IHyprLayout.cpp3
-rw-r--r--src/layout/IHyprLayout.hpp1
4 files changed, 6 insertions, 2 deletions
diff --git a/docs/Hyprland.1 b/docs/Hyprland.1
index 85b3d4ef..b8ac0f09 100644
--- a/docs/Hyprland.1
+++ b/docs/Hyprland.1
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 2.5
.\"
-.TH "Hyprland" "1" "11 Oct 2022" "" "Hyprland User Manual"
+.TH "Hyprland" "1" "27 Nov 2022" "" "Hyprland User Manual"
.hy
.SH NAME
.PP
diff --git a/docs/hyprctl.1 b/docs/hyprctl.1
index 2ce33031..a5221051 100644
--- a/docs/hyprctl.1
+++ b/docs/hyprctl.1
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 2.5
.\"
-.TH "hyprctl" "1" "11 Oct 2022" "" "hyprctl User Manual"
+.TH "hyprctl" "1" "27 Nov 2022" "" "hyprctl User Manual"
.hy
.SH NAME
.PP
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index f16342a0..d28ee2dc 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -416,3 +416,6 @@ CWindow* IHyprLayout::getNextWindowCandidate(CWindow* pWindow) {
return PWINDOWCANDIDATE;
}
+
+IHyprLayout::~IHyprLayout() {
+}
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp
index 9116212c..1d22e41c 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -16,6 +16,7 @@ enum eFullscreenMode : uint8_t;
interface IHyprLayout {
public:
+ virtual ~IHyprLayout() = 0;
virtual void onEnable() = 0;
virtual void onDisable() = 0;