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
|
|
@ -106,7 +106,7 @@ void CHyprlandCTMControlProtocol::setCTM(PHLMONITOR monitor, const Mat3x3& ctm)
|
|||
std::erase_if(m_mCTMDatas, [](const auto& el) { return !el.first; });
|
||||
|
||||
if (!m_mCTMDatas.contains(monitor))
|
||||
m_mCTMDatas[monitor] = std::make_unique<SCTMData>();
|
||||
m_mCTMDatas[monitor] = makeUnique<SCTMData>();
|
||||
|
||||
auto& data = m_mCTMDatas.at(monitor);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue