aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/ClBackendContext.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/cl/ClBackendContext.hpp')
-rw-r--r--src/backends/cl/ClBackendContext.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backends/cl/ClBackendContext.hpp b/src/backends/cl/ClBackendContext.hpp
index 276067727b..659d47b7c2 100644
--- a/src/backends/cl/ClBackendContext.hpp
+++ b/src/backends/cl/ClBackendContext.hpp
@@ -31,11 +31,8 @@ public:
private:
std::mutex m_Mutex;
-
struct ClContextControlWrapper;
- static std::shared_ptr<ClBackendContext::ClContextControlWrapper> Get();
-
- std::shared_ptr<ClBackendContext::ClContextControlWrapper> m_ClContextControlWrapper;
+ std::unique_ptr<ClContextControlWrapper> m_ClContextControlWrapper;
std::unordered_set<NetworkId> m_NetworkIds;