aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@xbmc.org>2014-06-28 22:47:33 +1200
committermontellese <montellese@xbmc.org>2015-01-07 08:04:13 +0100
commit8dc43d330b69e6103d0c6b8aa1e2045b4fda9b05 (patch)
tree1dffd7b52103fc162f8cec034cb855ff43731584 /lib
parentdbcd49f6b267de74b49a593260d0d052164551be (diff)
[stdstring] get rid of CStdString in UnrarXLib
Diffstat (limited to 'lib')
-rw-r--r--lib/UnrarXLib/file.cpp2
-rw-r--r--lib/UnrarXLib/ulinks.cpp2
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)
{