mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 10:11:10 -06:00
Improved some string initialization and zeroing.
Assigning = "" in constructor does not make sense,
.clear() is better than = "",
default paramaeter = {} is cheaper than = ""
This commit is contained in:
parent
4a7ac79637
commit
56f409921c
4 changed files with 8 additions and 8 deletions
|
|
@ -786,8 +786,8 @@ void PlaterPresetComboBox::update()
|
|||
|
||||
std::map<wxString, wxBitmap*> nonsys_presets;
|
||||
|
||||
wxString selected_user_preset = "";
|
||||
wxString tooltip = "";
|
||||
wxString selected_user_preset;
|
||||
wxString tooltip;
|
||||
const std::deque<Preset>& presets = m_collection->get_presets();
|
||||
|
||||
if (!presets.front().is_visible)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue