From c32045fcf3045024245525b585f3cad0f4b21686 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 15 Nov 2013 10:52:59 -0500 Subject: Make FormulaCompiler explicitly non-copyable. Change-Id: Ie0618c7e6e3854d54f117c3fe957925f3f81ac46 --- include/formula/FormulaCompiler.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx index b450ed69113e..a90bc82dede1 100644 --- a/include/formula/FormulaCompiler.hxx +++ b/include/formula/FormulaCompiler.hxx @@ -27,6 +27,7 @@ #include #include +#include #include @@ -62,7 +63,7 @@ struct FormulaArrayStack typedef ::boost::unordered_map< OUString, OpCode, OUStringHash, ::std::equal_to< OUString > > OpCodeHashMap; typedef ::boost::unordered_map< OUString, OUString, OUStringHash, ::std::equal_to< OUString > > ExternalHashMap; -class FORMULA_DLLPUBLIC FormulaCompiler +class FORMULA_DLLPUBLIC FormulaCompiler : boost::noncopyable { public: FormulaCompiler(); -- cgit v1.2.3