summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-02-24 08:32:45 -0500
committerLioncash <mathew1800@gmail.com>2014-02-24 08:32:45 -0500
commit98d2e76fcc2de340255ad8322fd32893c22b082c (patch)
treec78d64d2effb1c2c94f242dfe2c269f1bc0d29bc /Source/Core
parent21bb722c9352cc50b3eea95ec7579abdce58613c (diff)
Unnecessary c_str call in WII_IPC_HLE_Device_es.cpp's OpenTitleContent function.
m_ContentFile is a string, so it's kind of pointless to pass a c_str of a string to constructor of a new string.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp
index 90f586414c..a64cfdc72a 100644
--- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp
+++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp
@@ -953,7 +953,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
for (unsigned int i = 0; i < size; i++)
wiiMoteConnected[i] = s_Usb->m_WiiMotes[i].IsConnected();
- std::string tContentFile(m_ContentFile.c_str());
+ std::string tContentFile(m_ContentFile);
WII_IPC_HLE_Interface::Reset(true);
WII_IPC_HLE_Interface::Init();