[Libreoffice-commits] core.git: filter/source

Stephan Bergmann sbergman at redhat.com
Thu Oct 22 05:37:11 PDT 2015


 filter/source/svg/gfxtypes.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a83a7a0d5f733992dbcfe2e9e404e54f4c55f150
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Oct 22 14:36:13 2015 +0200

    Satisfy std::hash<> specialization requirements
    
    Change-Id: I3a618bd02994437a1dbe048e43653056006e8d4b

diff --git a/filter/source/svg/gfxtypes.hxx b/filter/source/svg/gfxtypes.hxx
index 6c81e97..d4e264d 100644
--- a/filter/source/svg/gfxtypes.hxx
+++ b/filter/source/svg/gfxtypes.hxx
@@ -284,6 +284,8 @@ namespace std
 {
     template<> struct hash<svgi::State>
     {
+        using result_type = std::size_t;
+        using argument_type = svgi::State;
         std::size_t operator()(const svgi::State& rState ) const
         {
             return std::hash<double>()(rState.maCTM.get( 0, 0 ))


More information about the Libreoffice-commits mailing list