tools/map.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 99a7f1f9929f66bdf483e5a4905fe5c9aef1b5dd
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Mon Dec 4 19:03:06 2017 +0530

    Fix build; no operator== on std::stringstream
    
    I guess we wanted to match strings there.
    
    Change-Id: I5b76435144ce931718cc758963e79de7d0f5a9ea

diff --git a/tools/map.cpp b/tools/map.cpp
index 5ef1b00a..a95455c1 100644
--- a/tools/map.cpp
+++ b/tools/map.cpp
@@ -177,7 +177,7 @@ static void dumpPages(unsigned proc_id, unsigned parent_id, 
const char *type, co
         std::stringstream parentStr;
         Util::dumpHex(parentStr, "", "", parentData, false);
 
-        bool matchesParent = pageStr == parentStr;
+        bool matchesParent = pageStr.str() == parentStr.str();
         const char *style;
         if (parentData.size() > 0)
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to