From dd04d0d85e3cae57e5e9621a650b515ca1401af3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 28 Dec 2005 18:09:52 +0000 Subject: [PATCH] cleanup --- stepmania/src/RageUtil.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageUtil.h b/stepmania/src/RageUtil.h index ce80841934..9a69ea8ad3 100644 --- a/stepmania/src/RageUtil.h +++ b/stepmania/src/RageUtil.h @@ -359,18 +359,19 @@ public: Regex( const Regex &rhs ); Regex &operator=( const Regex &rhs ); ~Regex(); - bool IsSet() const { return !pattern.empty(); } + bool IsSet() const { return !m_sPattern.empty(); } void Set( const RString &str ); bool Compare( const RString &sStr ); bool Compare( const RString &sStr, vector &asMatches ); bool Replace( const RString &sReplacement, const RString &sSubject, RString &sOut ); private: - void *reg; - unsigned backrefs; - RString pattern; void Compile(); void Release(); + + void *m_pReg; + unsigned m_iBackrefs; + RString m_sPattern; };