|
|
@ -172,6 +172,7 @@ void AutoConnectRadioBasis::empty(const size_t reserve) { |
|
|
|
std::vector<String>().swap(_values); |
|
|
|
std::vector<String>().swap(_values); |
|
|
|
if (reserve) |
|
|
|
if (reserve) |
|
|
|
_values.reserve(reserve); |
|
|
|
_values.reserve(reserve); |
|
|
|
|
|
|
|
checked = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -221,6 +222,7 @@ void AutoConnectSelectBasis::empty(const size_t reserve) { |
|
|
|
std::vector<String>().swap(_options); |
|
|
|
std::vector<String>().swap(_options); |
|
|
|
if (reserve) |
|
|
|
if (reserve) |
|
|
|
_options.reserve(reserve); |
|
|
|
_options.reserve(reserve); |
|
|
|
|
|
|
|
selected = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|