mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 00:05:58 +01:00
fix deprecated-copy warn
This commit is contained in:
parent
84954f376f
commit
da23ec847e
1 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,8 @@
|
|||
#include <deque>
|
||||
#include "config/ConfigDataValues.hpp"
|
||||
|
||||
enum eIdleInhibitMode {
|
||||
enum eIdleInhibitMode
|
||||
{
|
||||
IDLEINHIBIT_NONE = 0,
|
||||
IDLEINHIBIT_ALWAYS,
|
||||
IDLEINHIBIT_FULLSCREEN,
|
||||
|
@ -22,7 +23,9 @@ class CWindowOverridableVar {
|
|||
value = val;
|
||||
}
|
||||
|
||||
CWindowOverridableVar<T> operator=(CWindowOverridableVar<T> other) {
|
||||
~CWindowOverridableVar() = default;
|
||||
|
||||
CWindowOverridableVar<T>& operator=(CWindowOverridableVar<T> other) {
|
||||
if (locked)
|
||||
return *this;
|
||||
|
||||
|
|
Loading…
Reference in a new issue