16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 07:59:18 +02:00

reformat: parameters can be made const

This commit is contained in:
jerrrrycho
2026-07-04 07:08:14 +02:00
parent 6fd1d6715b
commit 220689a5e3
121 changed files with 1380 additions and 1352 deletions

View File

@@ -381,7 +381,7 @@ brush_object_list::brush_object_list(std::string const &Name, bool const Isopen)
size_max = {1000, 500};
}
bool brush_object_list::VectorGetter(void *data, int idx, const char **out_text)
bool brush_object_list::VectorGetter(void *data, const int idx, const char **out_text)
{
const auto *vec = static_cast<std::vector<std::string> *>(data);