mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 03:59:19 +02:00
refactor(sonar): pass expensive-to-copy parameters by const reference (cpp:S1238)
Signatures declared in files touched by PR 206 (Driver.h, EU07.cpp) and virtual overrides are left unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -470,7 +470,7 @@ void python_taskqueue::release_lock() const
|
||||
PyEval_SaveThread();
|
||||
}
|
||||
|
||||
auto python_taskqueue::fetch_renderer(std::string const Renderer) -> PyObject *
|
||||
auto python_taskqueue::fetch_renderer(std::string const &Renderer) -> PyObject *
|
||||
{
|
||||
|
||||
if (auto const lookup{m_renderers.find(Renderer)}; lookup != std::end(m_renderers))
|
||||
|
||||
Reference in New Issue
Block a user