From 064c28f58e845be67a31283cb885b22f32118f49 Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Sun, 9 Jul 2017 18:08:22 -0700 Subject: Pick layout rules based on target languge, not source. The tricky bit here was that the `reflection-json` output format isn't really a code generation target like the others, and we need to be able to have multiple "targets" active to make sense of it. This needs cleaning-up. --- source/core/smart-pointer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/smart-pointer.h') 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 -- cgit v1.2.3