]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.cpp
Update Win installer for new dictionary links. Untested.
[lyx.git] / src / BufferList.cpp
index 198e0bfad047c354c4c9cf48cf2edae6c77800fd..d69438846f5a7f22591b66b57dcf34e1eb4eee56 100644 (file)
@@ -15,6 +15,7 @@
 #include "Author.h"
 #include "Buffer.h"
 #include "BufferParams.h"
+#include "OutputParams.h"
 
 #include "frontends/alert.h"
 
@@ -28,6 +29,7 @@
 #include "support/lassert.h"
 
 #include <algorithm>
+#include <cstdlib> // exit()
 #include <iterator>
 #include <memory>
 
@@ -127,7 +129,7 @@ Buffer * BufferList::createNewBuffer(string const & s)
 {
        unique_ptr<Buffer> tmpbuf;
        try {
-               tmpbuf = make_unique<Buffer>(s);
+               tmpbuf = lyx::make_unique<Buffer>(s);
        } catch (ExceptionMessage const & message) {
                if (message.type_ == ErrorException) {
                        Alert::error(message.title_, message.details_);