From 21a2ce045ff9bc49a3e8eaec5388c264de4b0c87 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 17 Jul 2019 19:59:50 +0200 Subject: [PATCH] [util] Add convenience method to return public/private references --- src/util/com/com_pointer.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/com/com_pointer.h b/src/util/com/com_pointer.h index 9583bd4b1..14c767640 100644 --- a/src/util/com/com_pointer.h +++ b/src/util/com/com_pointer.h @@ -121,6 +121,9 @@ namespace dxvk { T* ptr() const { return m_ptr; } + + Com pubRef() const { return m_ptr; } + Com prvRef() const { return m_ptr; } private: