mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 14:29:20 +02:00
- std::format instead of iostream manipulators in to_string/to_hex_str (cpp:S6495); output verified identical, negative hex values keep the unsigned form - remove an empty compound statement (cpp:S108) - drop an always-false unsigned < 0 branch (cpp:S1768) - explicit lambda capture (cpp:S3608) - std::make_unique (cpp:S5950) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
299 B
C++
10 lines
299 B
C++
#include "stdafx.h"
|
|
#include "rendering/nullrenderer.h"
|
|
|
|
std::unique_ptr<gfx_renderer> null_renderer::create_func()
|
|
{
|
|
return std::make_unique<null_renderer>();
|
|
}
|
|
|
|
bool null_renderer::renderer_register = gfx_renderer_factory::get_instance()->register_backend("null", null_renderer::create_func);
|