mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Fix compilation on platforms where sizeof(wchar_t) == 2.
Use "set" instead of "unordered_set" as some facets are missing when using gcc on cygwin, mingw and, possibly, FreeBSD.
This commit is contained in:
parent
b030dc5b8b
commit
da336cedf3
@ -34,7 +34,7 @@ OutputParams::OutputParams(Encoding const * enc)
|
||||
dryrun(false), silent(false), pass_thru(false),
|
||||
html_disable_captions(false), html_in_par(false),
|
||||
html_make_pars(true), docbook_in_par(false), docbook_make_pars(true),
|
||||
docbook_force_pars(false), docbook_anchors_to_ignore(std::unordered_set<docstring>()), docbook_in_float(false),
|
||||
docbook_force_pars(false), docbook_anchors_to_ignore(std::set<docstring>()), docbook_in_float(false),
|
||||
docbook_in_listing(false), for_toc(false), for_tooltip(false),
|
||||
for_search(false), for_preview(false), includeall(false)
|
||||
{
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "Changes.h"
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_set>
|
||||
#include <set>
|
||||
|
||||
|
||||
namespace lyx {
|
||||
@ -361,7 +361,7 @@ public:
|
||||
bool docbook_force_pars;
|
||||
|
||||
/// Anchors that should not be output (LyX-side identifier, not DocBook-side).
|
||||
std::unordered_set<docstring> docbook_anchors_to_ignore;
|
||||
std::set<docstring> docbook_anchors_to_ignore;
|
||||
|
||||
/// Is the current context a float (such as a table or a figure)?
|
||||
bool docbook_in_float;
|
||||
|
Loading…
Reference in New Issue
Block a user