summaryrefslogtreecommitdiffstats
path: root/source/core/slang-string.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-06-19 16:54:12 -0400
committerGitHub <noreply@github.com>2019-06-19 16:54:12 -0400
commitbabe8e78d9f431d5f751859d159bbb3df37987c7 (patch)
tree0ba44ecdbe8061ef2b576777d2d43aa64c7e0fe1 /source/core/slang-string.h
parent442f8c6d3d42b892e3f13128bcb6487ff7508f0d (diff)
Feature/shared library review (#992)
* Added setNull to RefPtr Renamed combineBuilder into combineIntoBuilder * Added Path::append
Diffstat (limited to 'source/core/slang-string.h')
-rw-r--r--source/core/slang-string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/slang-string.h b/source/core/slang-string.h
index 8a9e83cd1..560d137db 100644
--- a/source/core/slang-string.h
+++ b/source/core/slang-string.h
@@ -511,7 +511,7 @@ namespace Slang
~String()
{
- m_buffer = 0;
+ m_buffer.setNull();
}
String & operator=(const String & str)
@@ -980,7 +980,7 @@ namespace Slang
void Clear()
{
- m_buffer = 0;
+ m_buffer.setNull();
}
};