diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-03-26 20:58:30 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-03-26 20:58:30 (GMT) |
commit | 78e1bdfca35221c744684d8d2a0b5b234836a49c (patch) | |
tree | cba2a5b7ae98e6e5bd3db8d7f04e6abbe6032f74 | |
parent | 15b93a26e99289cf0ac929e8a8fd64224f808460 (diff) | |
parent | effbbcc72295f5843377ddce2794bcf6e7000322 (diff) | |
download | Doxygen-78e1bdfca35221c744684d8d2a0b5b234836a49c.zip Doxygen-78e1bdfca35221c744684d8d2a0b5b234836a49c.tar.gz Doxygen-78e1bdfca35221c744684d8d2a0b5b234836a49c.tar.bz2 |
Merge pull request #321 from abathur/bug_746673
Bug 746673 - typo and bug in sqlite3gen.cpp
-rw-r--r-- | src/sqlite3gen.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/sqlite3gen.cpp b/src/sqlite3gen.cpp index acd3995..40d744a 100644 --- a/src/sqlite3gen.cpp +++ b/src/sqlite3gen.cpp @@ -754,7 +754,7 @@ static void generateSqlite3ForMember(sqlite3*db,MemberDef *md,Definition *def) bindIntParameter(memberdef_insert,":new",md->isNew()); bindIntParameter(memberdef_insert,":optional",md->isOptional()); bindIntParameter(memberdef_insert,":required",md->isRequired()); - + bindIntParameter(memberdef_insert,":virt",md->virtualness()); } // place in the arguments and linkify the arguments @@ -1027,9 +1027,16 @@ static void generateSqlite3ForClass(sqlite3 *db, ClassDef *cd) BaseClassDef *bcd; for (bcli.toFirst();(bcd=bcli.current());++bcli) { - bindTextParameter(derivedcompoundref_insert,":base",cd->displayName()); - bindTextParameter(derivedcompoundref_insert,":dervied",bcd->classDef->displayName()); - bindTextParameter(derivedcompoundref_insert,":refid",bcd->classDef->getOutputFileBase()); + bindTextParameter(derivedcompoundref_insert,":base",cd->displayName(),FALSE); + if (!bcd->templSpecifiers.isEmpty()) + { + bindTextParameter(derivedcompoundref_insert,":derived",insertTemplateSpecifierInScope(bcd->classDef->name(),bcd->templSpecifiers),FALSE); + } + else + { + bindTextParameter(derivedcompoundref_insert,":derived",bcd->classDef->displayName(),FALSE); + } + bindTextParameter(derivedcompoundref_insert,":refid",bcd->classDef->getOutputFileBase(),FALSE); bindIntParameter(derivedcompoundref_insert,":prot",bcd->prot); bindIntParameter(derivedcompoundref_insert,":virt",bcd->virt); step(db,derivedcompoundref_insert); |