Change qualifier of ShowSaveDialog() parameter

The normal convention in the codebase is to not use references
or 'const' for primitives like 'bool' and 'int'.
This commit is contained in:
Tan Wang Leng 2017-02-09 21:33:33 +08:00
parent 72723646dd
commit a4a71a1dc9
5 changed files with 9 additions and 9 deletions

View file

@ -62,7 +62,7 @@ bool ShowSaveDialog(atom::NativeWindow* parent_window,
const Filters& filters,
const std::string& message,
const std::string& name_field_label,
const bool& shows_tag_field,
bool shows_tag_field,
base::FilePath* path);
void ShowSaveDialog(atom::NativeWindow* parent_window,
@ -72,7 +72,7 @@ void ShowSaveDialog(atom::NativeWindow* parent_window,
const Filters& filters,
const std::string& message,
const std::string& name_field_label,
const bool& shows_tag_field,
bool shows_tag_field,
const SaveDialogCallback& callback);
} // namespace file_dialog