summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-12-05 16:24:31 +0100
committerpranavk <pranavk@collabora.co.uk>2017-12-05 17:14:24 +0100
commit189810c3e14293a44299fce0419fe417cbda38fe (patch)
treeb740d8e8c498651d68f3c7c2b647dc452741432e
parentac328157460e9e6a9ca6834e8233a28e845c2806 (diff)
Add some missing #include <memory> to have std::unique_ptr.
Change-Id: I0fb999f241c727eb4856aedadaf3c9f7872d3327 Reviewed-on: https://gerrit.libreoffice.org/45895 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
-rw-r--r--sccomp/source/solver/LpsolveSolver.cxx2
-rw-r--r--stoc/source/inspect/introspection.cxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/sccomp/source/solver/LpsolveSolver.cxx b/sccomp/source/solver/LpsolveSolver.cxx
index 1e22d991c23d..00a1d71969d8 100644
--- a/sccomp/source/solver/LpsolveSolver.cxx
+++ b/sccomp/source/solver/LpsolveSolver.cxx
@@ -52,6 +52,8 @@
#endif
#undef LANGUAGE_NONE
+#include <memory>
+
#include "SolverComponent.hxx"
#include "solver.hrc"
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 41e81263955c..f82e74fd30a7 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -23,6 +23,7 @@
#include <cstddef>
#include <limits>
#include <map>
+#include <memory>
#include <set>
#include <o3tl/any.hxx>