mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 20:51:58 -07:00
fix deprecated-copy warn
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user