summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-09-18 12:11:41 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-18 15:04:34 +0300
commit1fa2398967d85abdd23fb233494d411276853760 (patch)
tree36e67a33f229dbc40f596cbdf68b14f099eeb37a /sc/inc
parentec76524221c146635e0046f567ddd31e1e28be3c (diff)
Tentative performance improvement.
Change-Id: Iec3a6a6869a4546f3d10928470361716d7b10243
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/calcconfig.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/calcconfig.hxx b/sc/inc/calcconfig.hxx
index e271421b6884..1d28a60f93a7 100644
--- a/sc/inc/calcconfig.hxx
+++ b/sc/inc/calcconfig.hxx
@@ -12,6 +12,7 @@
#include "scdllapi.h"
+#include <memory>
#include <ostream>
#include <set>
@@ -50,9 +51,9 @@ struct SC_DLLPUBLIC ScCalcConfig
OUString maOpenCLDevice;
sal_Int32 mnOpenCLMinimumFormulaGroupSize;
- typedef std::set<OpCode> OpCodeSet;
+ typedef std::shared_ptr<std::set<OpCode>> OpCodeSet;
- OpCodeSet maOpenCLSubsetOpCodes;
+ OpCodeSet mpOpenCLSubsetOpCodes;
ScCalcConfig();