gsdx: c_str() is useless when parameter is a string

Reported by clang tidy
This commit is contained in:
Gregory Hainaut 2016-09-07 22:10:50 +02:00
parent a6c25b7bff
commit bcb951077d
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ GSRenderer::~GSRenderer()
bool GSRenderer::CreateWnd(const string& title, int w, int h)
{
return m_wnd->Create(title.c_str(), w, h);
return m_wnd->Create(title, w, h);
}
bool GSRenderer::CreateDevice(GSDevice* dev)

View File

@ -370,7 +370,7 @@ bool GSTextureCacheSW::Texture::Save(const string& fn, bool dds) const
t.Unmap();
return t.Save(fn.c_str());
return t.Save(fn);
}
return false;