diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-01 10:00:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 08:55:38 +0000 |
commit | 3c43a4810f505c071bcc99aeda47162a4b7b1681 (patch) | |
tree | b8f06caae940f47d4d5c0e71677c2afae3c217d5 /sc/workben | |
parent | 229f10c6d0b88f795038063ce7af61e40a3be35a (diff) |
tdf#94306 Replace boost::noncopyable in sc/source
and sc/workben with C++11 delete copy ctors
add default ctors needed missing
delete some ctors instead of making them private
Change-Id: I0a131f95444ef040e5d580d8326f372b8167e19b
Reviewed-on: https://gerrit.libreoffice.org/23717
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/workben')
-rw-r--r-- | sc/workben/dpcache/perf-test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/workben/dpcache/perf-test.cpp b/sc/workben/dpcache/perf-test.cpp index b606e4717f60..8bc5026c0aca 100644 --- a/sc/workben/dpcache/perf-test.cpp +++ b/sc/workben/dpcache/perf-test.cpp @@ -17,8 +17,6 @@ #include <algorithm> #include <functional> -#include <boost/noncopyable.hpp> - using namespace std; namespace { @@ -68,11 +66,14 @@ double multiplier = 10.0; bool dump_values = true; #endif -struct field : boost::noncopyable +struct field { std::vector<int> items; /// unique values std::vector<size_t> data; /// original value series as indices into unique values. std::vector<size_t> order; /// ascending order of the values as indices. + + field(const field&) = delete; + const field operator=(const field&) = delete; }; long compare(int left, int right) |