From 3c9ac0863a92c256f7955b1179ef41a062e0617e Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 28 Nov 2006 07:34:13 +0000 Subject: [PATCH] ICU-5304 Allow source code to work again without using U_NAMESPACE_USE X-SVN-Rev: 20691 --- icu4c/source/i18n/uregex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/icu4c/source/i18n/uregex.cpp b/icu4c/source/i18n/uregex.cpp index 9aab85e5df7..7207b6ece8b 100644 --- a/icu4c/source/i18n/uregex.cpp +++ b/icu4c/source/i18n/uregex.cpp @@ -1,6 +1,6 @@ /* ******************************************************************************* -* Copyright (C) 2004-2005, International Business Machines +* Copyright (C) 2004-2006, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * file name: regex.cpp @@ -20,6 +20,8 @@ #include "uassert.h" #include "cmemory.h" +U_NAMESPACE_USE + struct URegularExpression: public UMemory { public: URegularExpression(); @@ -40,8 +42,6 @@ public: static const int32_t REXP_MAGIC = 0x72657870; // "rexp" in ASCII -U_NAMESPACE_USE - URegularExpression::URegularExpression() { fMagic = REXP_MAGIC; fPat = NULL;