diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-11-18 14:00:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2018-11-18 14:23:28 (GMT) |
commit | f0cc0f5da51faddd490c2cf358614b4ab70cc8ac (patch) | |
tree | d88c647365010677b4c4f6353e0e03e0daea6f33 /src/searchindex.cpp | |
parent | 8ff99363c2f6b3226fe5b57f38ae1d4805dca22c (diff) | |
download | Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.zip Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.tar.gz Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.tar.bz2 |
Minor restructuring
Diffstat (limited to 'src/searchindex.cpp')
-rw-r--r-- | src/searchindex.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp index 74aa138..e0d4acc 100644 --- a/src/searchindex.cpp +++ b/src/searchindex.cpp @@ -795,24 +795,24 @@ void createJavascriptSearchIndex() g_searchIndexInfo[SEARCH_INDEX_ALL].symbolList.append(letter,cd); if (sliceOpt) { - if (cd->isInterface()) + if (cd->compoundType()==ClassDef::Interface) { g_searchIndexInfo[SEARCH_INDEX_INTERFACES].symbolList.append(letter,cd); } - else if (cd->isStruct()) + else if (cd->compoundType()==ClassDef::Struct) { g_searchIndexInfo[SEARCH_INDEX_STRUCTS].symbolList.append(letter,cd); } - else if (cd->isException()) + else if (cd->compoundType()==ClassDef::Exception) { g_searchIndexInfo[SEARCH_INDEX_EXCEPTIONS].symbolList.append(letter,cd); } - else + else // cd->compoundType()==ClassDef::Class { g_searchIndexInfo[SEARCH_INDEX_CLASSES].symbolList.append(letter,cd); } } - else + else // non slice optimisation: group all types under classes { g_searchIndexInfo[SEARCH_INDEX_CLASSES].symbolList.append(letter,cd); } |