summaryrefslogtreecommitdiffstats
path: root/source/core/smart-pointer.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/smart-pointer.h')
-rw-r--r--source/core/smart-pointer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/smart-pointer.h b/source/core/smart-pointer.h
index 19ddde931..fea149e06 100644
--- a/source/core/smart-pointer.h
+++ b/source/core/smart-pointer.h
@@ -163,7 +163,7 @@ namespace Slang
~RefPtr()
{
- releaseReference(pointer);
+ releaseReference((Slang::RefObject*) pointer);
}
T& operator*() const