CString -> RString

This commit is contained in:
Chris Danford
2006-01-22 01:00:06 +00:00
parent 870ed267fc
commit 7f821e8cfc
578 changed files with 3943 additions and 3946 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
#include <sys/utsname.h>
void GetKernel( CString &sys, int &vers )
void GetKernel( RString &sys, int &vers )
{
utsname uts;
uname( &uts );
@@ -15,7 +15,7 @@ void GetKernel( CString &sys, int &vers )
if( sys == "Linux" )
{
static Regex ver( "([0-9]+)\\.([0-9]+)\\.([0-9]+)" );
vector<CString> matches;
vector<RString> matches;
if( ver.Compare(uts.release, matches) )
{
ASSERT( matches.size() >= 2 );