diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 12:56:58 +0100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:25:54 -0400 |
commit | 39214a9c36b64ccd48c2ad5aae3b5849028cc0f6 (patch) | |
tree | 3972957e35ffea8dd22294c8e33ef2c1225a6fbd /filter | |
parent | d955148381be3496b091fab7c2335d080634d376 (diff) |
loplugin:privatebase: Publicly derive from binary_/unary_function
Somewhat arbitrarily prefer public over private derivation; ultimately,
derivation from those deprecated (C++11)/removed (C++17) classes should be
removed, anyway.
Change-Id: I5ed24427d37586e72f8c16509cf5002a54af73f1
(cherry picked from commit 00c62e306f4fd866f04a496a28c15d317ba02222)
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 2dd749f017fd..7adab6dde2e1 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -337,7 +337,7 @@ struct EqualByType : public std::binary_function<FlatDetectionInfo, FlatDetectio } }; -class FindByType : std::unary_function<FlatDetectionInfo, bool> +class FindByType : public std::unary_function<FlatDetectionInfo, bool> { OUString maType; public: |