diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-05-01 22:13:37 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-05-11 12:28:24 +0200 |
commit | eb6819e74a66750235d3a4a894479faeee8146e2 (patch) | |
tree | c898ab63731449cf5176f35a16bacea0bb58f864 /vcl/inc/widgetdraw | |
parent | e6c0c282be59a5198932604d6c40de837b7cb548 (diff) |
change usage of boost::hash_combine to o3tl::hash_combine
Change-Id: I840518a36ac43d36c95f38e09c7bfcfe1a25a525
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114984
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/widgetdraw')
-rw-r--r-- | vcl/inc/widgetdraw/WidgetDefinition.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/widgetdraw/WidgetDefinition.hxx b/vcl/inc/widgetdraw/WidgetDefinition.hxx index cc3eb6606557..65a4dcb32c29 100644 --- a/vcl/inc/widgetdraw/WidgetDefinition.hxx +++ b/vcl/inc/widgetdraw/WidgetDefinition.hxx @@ -18,7 +18,7 @@ #include <unordered_map> #include <vector> #include <cstddef> -#include <boost/functional/hash.hpp> +#include <o3tl/hash_combine.hxx> #include <vcl/salnativewidgets.hxx> namespace vcl @@ -145,8 +145,8 @@ template <> struct VCL_DLLPUBLIC hash<vcl::ControlTypeAndPart> std::size_t operator()(vcl::ControlTypeAndPart const& rControlTypeAndPart) const noexcept { std::size_t seed = 0; - boost::hash_combine(seed, rControlTypeAndPart.meType); - boost::hash_combine(seed, rControlTypeAndPart.mePart); + o3tl::hash_combine(seed, rControlTypeAndPart.meType); + o3tl::hash_combine(seed, rControlTypeAndPart.mePart); return seed; } }; |