From: Bradley T. Hughes Date: Fri, 29 Jul 2011 10:26:43 +0000 (+0200) Subject: Fix compilation with namespaced builds X-Git-Tag: qt-v5.0.0-alpha1~3891 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c3382d30574a56b640c46aab7c407d63435d3bb;p=profile%2Fivi%2Fqtbase.git Fix compilation with namespaced builds Add QT_BEGIN_NAMESPACE and QT_END_NAMESPACE to src/corelib/tools/qfreelist.cpp Change-Id: Ie01e74a3c2d9cd4de1f52a546d13398e1409c86b Reviewed-on: http://codereview.qt.nokia.com/2390 Reviewed-by: Qt Sanity Bot Reviewed-by: Olivier Goffart Reviewed-by: João Abecasis --- diff --git a/src/corelib/tools/qfreelist.cpp b/src/corelib/tools/qfreelist.cpp index 63e37ec..bbbdb25 100644 --- a/src/corelib/tools/qfreelist.cpp +++ b/src/corelib/tools/qfreelist.cpp @@ -41,6 +41,8 @@ #include "qfreelist_p.h" +QT_BEGIN_NAMESPACE + // default sizes and offsets (no need to define these when customizing) enum { Offset0 = 0x00000000, @@ -60,3 +62,6 @@ const int QFreeListDefaultConstants::Sizes[QFreeListDefaultConstants::BlockCount Size2, Size3 }; + +QT_END_NAMESPACE +