diff options
author | Ian <ian.gilham@gmail.com> | 2015-08-11 12:31:41 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-08-12 10:59:19 +0000 |
commit | a5cebd1bfc15eed5cc2018a88a7b0cd5a841f6bc (patch) | |
tree | e7851b599b0cc4554646b26a14bf99ca0e7a4179 /solenv/gcc-wrappers | |
parent | 0a726cb29936b61b8f05b0863e24db212a0e6166 (diff) |
tdf#90222: Removed ScaFuncDataList type
This repeats the same change in the pricing addin as already carried out
in datefunc.
This type was a special case of a custom implemented list, and wasused
like a map. I have replaced it with a std::map typedef'd as
ScaFuncDataMap.
Since the map key also exists in the value object, there are more
memory-efficient ways to implement this with a vector and a predicate
functor for searching at the cost of some code complexity. I opted for
the simpler code afforded by using a std::map implementation.
Change-Id: I7d28e0bc58f713cf4f4e962302e09788b3ac4218
Reviewed-on: https://gerrit.libreoffice.org/17651
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'solenv/gcc-wrappers')
0 files changed, 0 insertions, 0 deletions