mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 17:50:29 +01:00
refactor(sonar): mark converting constructors explicit (cpp:S1709)
sound_source and the gl::object conversion operators stay implicit; they are relied upon by copy-list-initialisation and GL calls.
This commit is contained in:
@@ -23,7 +23,7 @@ HANDLE pipe_wr = nullptr;
|
||||
#endif
|
||||
|
||||
public:
|
||||
piped_proc(std::string cmd, bool write = false);
|
||||
explicit piped_proc(std::string cmd, bool write = false);
|
||||
size_t read(unsigned char *buf, size_t len);
|
||||
size_t write(unsigned char *buf, size_t len);
|
||||
~piped_proc();
|
||||
|
||||
Reference in New Issue
Block a user