forked from mirrors/0ad
Pass some strings and a vector as const refs.
Reviewed By: Imarok Differential Revision: https://code.wildfiregames.com/D160 This was SVN commit r19240.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2015 Wildfire Games.
|
||||
/* Copyright (C) 2017 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -483,7 +483,7 @@ ObjectBottomBar::ObjectBottomBar(
|
||||
SetSizer(mainSizer);
|
||||
}
|
||||
|
||||
static wxControl* CreateTemplateNameObject(wxWindow* parent, const std::string templateName, int counterTemplate)
|
||||
static wxControl* CreateTemplateNameObject(wxWindow* parent, const std::string& templateName, int counterTemplate)
|
||||
{
|
||||
wxString idTemplate(wxString::FromUTF8(templateName.c_str()));
|
||||
if (counterTemplate > 1)
|
||||
|
||||
Reference in New Issue
Block a user