summaryrefslogtreecommitdiff
path: root/idlc/source/aststructinstance.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/aststructinstance.cxx')
-rw-r--r--idlc/source/aststructinstance.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/aststructinstance.cxx b/idlc/source/aststructinstance.cxx
index f5477464d829..3c5bb6740c34 100644
--- a/idlc/source/aststructinstance.cxx
+++ b/idlc/source/aststructinstance.cxx
@@ -32,7 +32,7 @@ OString createName(
AstType const * typeTemplate, DeclList const * typeArguments)
{
OStringBuffer buf(typeTemplate->getScopedName());
- if (typeArguments != 0) {
+ if (typeArguments != nullptr) {
buf.append('<');
for (DeclList::const_iterator i(typeArguments->begin());
i != typeArguments->end(); ++i)
@@ -40,7 +40,7 @@ OString createName(
if (i != typeArguments->begin()) {
buf.append(',');
}
- if (*i != 0) {
+ if (*i != nullptr) {
buf.append((*i)->getScopedName());
}
}