mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:20:06 +00:00
clang tidy/format fixes for add_custom_layer_dialog
This commit is contained in:
parent
a7c6be2bab
commit
f5ab6f3ef7
4 changed files with 5 additions and 4 deletions
|
|
@ -539,7 +539,8 @@ void SettingsInterface<T>::EnableTrimming(bool trimmingEnabled)
|
|||
}
|
||||
|
||||
template<class T>
|
||||
void SettingsInterface<T>::SetInvalidTooltip(std::optional<std::string> tooltip)
|
||||
void SettingsInterface<T>::SetInvalidTooltip(
|
||||
const std::optional<std::string>& tooltip)
|
||||
{
|
||||
p->invalidTooltip_ = std::move(tooltip);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ public:
|
|||
*
|
||||
* @param tooltip the tooltip to be displayed
|
||||
*/
|
||||
void SetInvalidTooltip(std::optional<std::string> tooltip);
|
||||
void SetInvalidTooltip(const std::optional<std::string>& tooltip);
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue