summaryrefslogtreecommitdiffstats
path: root/src/section.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-03-30 18:03:16 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-03-30 18:03:16 (GMT)
commit9a04fa4ff9c0ae3421496e96f6c23e0bf2e7db82 (patch)
tree5e073b586b9e3104c7636e67f4e1ff3d44b41783 /src/section.h
parent339e96085d8a0c9a513d8d5f28a5a9d885f4f1e7 (diff)
downloadDoxygen-9a04fa4ff9c0ae3421496e96f6c23e0bf2e7db82.zip
Doxygen-9a04fa4ff9c0ae3421496e96f6c23e0bf2e7db82.tar.gz
Doxygen-9a04fa4ff9c0ae3421496e96f6c23e0bf2e7db82.tar.bz2
Fixed issue creating std::string from null pointer
Diffstat (limited to 'src/section.h')
-rw-r--r--src/section.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/section.h b/src/section.h
index ce778b9..cf453bc 100644
--- a/src/section.h
+++ b/src/section.h
@@ -109,7 +109,7 @@ class SectionRefs
//! Adds a non-owning section reference.
void add(const SectionInfo *si)
{
- m_lookup.insert({std::string(si->label()),si});
+ m_lookup.insert({toStdString(si->label()),si});
m_entries.push_back(si);
}