core: move all shared_ptrs from the STL to hyprutils (#9143)
This commit is contained in:
parent
ae403e6a05
commit
0a1ae48a9f
152 changed files with 297 additions and 349 deletions
|
|
@ -268,7 +268,7 @@ class CInputManager {
|
|||
bool nonDesktop = false;
|
||||
CHyprSignalListener surfaceDestroyListener;
|
||||
};
|
||||
std::vector<std::unique_ptr<SIdleInhibitor>> m_vIdleInhibitors;
|
||||
std::vector<UP<SIdleInhibitor>> m_vIdleInhibitors;
|
||||
|
||||
// swipe
|
||||
void beginWorkspaceSwipe();
|
||||
|
|
@ -304,4 +304,4 @@ class CInputManager {
|
|||
friend class CWLSurface;
|
||||
};
|
||||
|
||||
inline std::unique_ptr<CInputManager> g_pInputManager;
|
||||
inline UP<CInputManager> g_pInputManager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue