{
outliner_names_.clear();
// names from this document class
- for (pair<string, docstring> const & name
+ for (auto const & name
: buffer_->params().documentClass().outlinerNames())
addName(name.first, translateIfPossible(name.second));
// Hardcoded types
///
TocList tocs_;
///
- std::map<std::string, unique_ptr<TocBuilder>> builders_;
+ std::map<std::string, std::shared_ptr<TocBuilder>> builders_;
/// Stores localised outliner names from this buffer and its children
std::map<std::string, docstring> outliner_names_;
///