mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 04:45: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 <deque>
|
||||||
#include "config/ConfigDataValues.hpp"
|
#include "config/ConfigDataValues.hpp"
|
||||||
|
|
||||||
enum eIdleInhibitMode {
|
enum eIdleInhibitMode
|
||||||
|
{
|
||||||
IDLEINHIBIT_NONE = 0,
|
IDLEINHIBIT_NONE = 0,
|
||||||
IDLEINHIBIT_ALWAYS,
|
IDLEINHIBIT_ALWAYS,
|
||||||
IDLEINHIBIT_FULLSCREEN,
|
IDLEINHIBIT_FULLSCREEN,
|
||||||
|
@ -22,7 +23,9 @@ class CWindowOverridableVar {
|
||||||
value = val;
|
value = val;
|
||||||
}
|
}
|
||||||
|
|
||||||
CWindowOverridableVar<T> operator=(CWindowOverridableVar<T> other) {
|
~CWindowOverridableVar() = default;
|
||||||
|
|
||||||
|
CWindowOverridableVar<T>& operator=(CWindowOverridableVar<T> other) {
|
||||||
if (locked)
|
if (locked)
|
||||||
return *this;
|
return *this;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue