mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 19:27:27 +00:00
Pass strings by const reference where possible
This commit is contained in:
parent
6ff3fcee59
commit
ac26f8e79f
21 changed files with 32 additions and 32 deletions
|
@ -1908,7 +1908,7 @@ namespace GLExtensions
|
|||
_GLVersion = 330; // Get all the fun things
|
||||
}
|
||||
|
||||
static void* GetFuncAddress(std::string name, void **func)
|
||||
static void* GetFuncAddress(const std::string& name, void **func)
|
||||
{
|
||||
*func = GLInterface->GetFuncAddress(name);
|
||||
if (*func == nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue