diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite3gen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sqlite3gen.cpp b/src/sqlite3gen.cpp index 34a2db6..d748a12 100644 --- a/src/sqlite3gen.cpp +++ b/src/sqlite3gen.cpp @@ -1082,7 +1082,10 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def) s->data(), md->getBodyDef()->getDefFileName().data(), md->getStartBodyLine())); - insertMemberReference(db,md->anchor().data(),s->data(),md->getBodyDef()->getDefFileName().data(),md->getStartBodyLine(),1); + if (md->getBodyDef()) + { + insertMemberReference(db,md->anchor().data(),s->data(),md->getBodyDef()->getDefFileName().data(),md->getStartBodyLine(),1); + } s=l.next(); } } |