mirror of https://github.com/PCSX2/pcsx2.git
gsdx: c_str() is useless when parameter is a string
Reported by clang tidy
This commit is contained in:
parent
a6c25b7bff
commit
bcb951077d
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue