summaryrefslogtreecommitdiffstats
path: root/src/section.h
diff options
context:
space:
mode:
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);
}