diff options
author | Jonathan Marshall <jmarshall@xbmc.org> | 2014-06-28 22:47:33 +1200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2015-01-07 08:04:13 +0100 |
commit | 8dc43d330b69e6103d0c6b8aa1e2045b4fda9b05 (patch) | |
tree | 1dffd7b52103fc162f8cec034cb855ff43731584 /lib | |
parent | dbcd49f6b267de74b49a593260d0d052164551be (diff) |
[stdstring] get rid of CStdString in UnrarXLib
Diffstat (limited to 'lib')
-rw-r--r-- | lib/UnrarXLib/file.cpp | 2 | ||||
-rw-r--r-- | lib/UnrarXLib/ulinks.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/UnrarXLib/file.cpp b/lib/UnrarXLib/file.cpp index 4b37d126d1..d70ad84884 100644 --- a/lib/UnrarXLib/file.cpp +++ b/lib/UnrarXLib/file.cpp @@ -175,7 +175,7 @@ bool File::Create(const char *Name,const wchar *NameW) WideToUtf(NameW, _name, sizeof(_name)); else strcpy(_name, Name); - CStdString strPath = URIUtils::GetDirectory(_name); + std::string strPath = URIUtils::GetDirectory(_name); CUtil::CreateDirectoryEx(strPath); m_File.OpenForWrite(_name,true); NewFile=true; diff --git a/lib/UnrarXLib/ulinks.cpp b/lib/UnrarXLib/ulinks.cpp index 247171f152..cf317a14dd 100644 --- a/lib/UnrarXLib/ulinks.cpp +++ b/lib/UnrarXLib/ulinks.cpp @@ -14,7 +14,7 @@ int ExtractLink(ComprDataIO &DataIO,Archive &Arc,char *DestName,uint &LinkCRC,bo FileName[DataSize]=0; if (Create) { - CStdString strPath = URIUtils::GetDirectory(DestName); + std::string strPath = URIUtils::GetDirectory(DestName); CUtil::CreateDirectoryEx(strPath); if (symlink(FileName,DestName)==-1) { |