diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-08-31 11:08:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-31 11:08:54 -0700 |
| commit | 620734080f825cb205b887fa1d6203e35dd60663 (patch) | |
| tree | b7c3c0003d6d8d67f3f04f136af083deaa5e591b /source/core/smart-pointer.h | |
| parent | 227f9f5a9d8ac0d88079b6175b3f31c8f05fabd0 (diff) | |
| parent | 60ed10520dd9af285e7d865445427caedc7e1ec6 (diff) | |
Merge pull request #174 from tfoleyNV/modifier-lowering-fix
Fix some issues around cloned modifiers.
Diffstat (limited to 'source/core/smart-pointer.h')
| -rw-r--r-- | source/core/smart-pointer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/smart-pointer.h b/source/core/smart-pointer.h index 87cb40d70..3e64eac96 100644 --- a/source/core/smart-pointer.h +++ b/source/core/smart-pointer.h @@ -49,6 +49,11 @@ namespace Slang SLANG_ASSERT(referenceCount != 0); return referenceCount == 1; } + + UInt debugGetReferenceCount() + { + return referenceCount; + } }; inline void addReference(RefObject* obj) |
