diff options
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-smart-pointer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/slang-smart-pointer.h b/source/core/slang-smart-pointer.h index 75c4398a5..80e8adbf1 100644 --- a/source/core/slang-smart-pointer.h +++ b/source/core/slang-smart-pointer.h @@ -217,6 +217,11 @@ namespace Slang return pointer; } + T* get() const + { + return pointer; + } + operator T*() const { return pointer; |
