On Fri, 2011-02-11 at 12:58 +0000, Caolán McNamara wrote:
> boost::hash (and I think std::hash in c++0x at least) with
> hash<const char*>(str) will hash the *pointer* str, not the
> contents of str.

        That sounds like a work of genius as a default ;-)

        I wonder if we can add some sort of lint check for that ?

> Which is why fontwork disappeared recently for me.

        Nice catch,

                Michael.

-- 
 michael.me...@novell.com  <><, Pseudo Engineer, itinerant idiot


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to