summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/gen_runtime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/gen_runtime.cpp b/api/gen_runtime.cpp
index 6a46f35e..65682e55 100644
--- a/api/gen_runtime.cpp
+++ b/api/gen_runtime.cpp
@@ -693,7 +693,7 @@ bool SpecFile::readSpecFile() {
mLargestVersionNumber = 0;
while (1) {
Specification* spec = Specification::scanSpecification(specFile);
- if (spec == NULL) {
+ if (spec == nullptr) {
break;
}
getFunction(spec->getCleanName())->addSpecification(spec);
@@ -974,7 +974,7 @@ Specification* Specification::scanSpecification(FILE* in) {
return spec;
} else {
delete spec;
- return NULL;
+ return nullptr;
}
}
@@ -1037,7 +1037,7 @@ Specification* Specification::scanSpecification(FILE* in) {
}
delete spec;
- return NULL;
+ return nullptr;
}
void Specification::writeFiles(ofstream& headerFile, ofstream& rsFile, ofstream& javaFile,