From f5af40afce9d453dbf2e5bab739520e1cb80ab12 Mon Sep 17 00:00:00 2001 From: Tom Englund Date: Thu, 10 Jul 2025 10:44:59 +0200 Subject: renderpass: use unique ptr instead of shared ptr lets use unique ptrs instead of refcounting shared ptr when its not needed, use rvalue reference to construct in vector directly. --- src/render/pass/ShadowPassElement.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/pass/ShadowPassElement.hpp') diff --git a/src/render/pass/ShadowPassElement.hpp b/src/render/pass/ShadowPassElement.hpp index 7e85342a..028ac88c 100644 --- a/src/render/pass/ShadowPassElement.hpp +++ b/src/render/pass/ShadowPassElement.hpp @@ -23,4 +23,4 @@ class CShadowPassElement : public IPassElement { private: SShadowData m_data; -}; \ No newline at end of file +}; -- cgit v1.2.3