mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 08:39:19 +02:00
refactor(sonar): initialise members in initialiser lists or declarations (cpp:S3230)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -303,9 +303,8 @@ void gl::shader::log_error(const std::string &str) const
|
||||
ErrorLog("bad shader: " + name + ": " + str, logtype::shader);
|
||||
}
|
||||
|
||||
gl::shader::shader(const std::string &filename)
|
||||
gl::shader::shader(const std::string &filename) : name(filename)
|
||||
{
|
||||
name = filename;
|
||||
|
||||
auto [shadertype, shadersource] = process_source(filename, "shaders/");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user