1
0
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:
leper
2017-02-24 17:02:10 +00:00
parent 1aa5ecb8a7
commit a0a0895a12
4 changed files with 8 additions and 8 deletions
@@ -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)