mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 06:19:19 +02: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:
@@ -27,7 +27,7 @@ public:
|
||||
};
|
||||
// constructors
|
||||
template<typename ...Args_>
|
||||
basic_element( basic_element::type_e Type = basic_element::type_e::variable, Args_ ...Args );
|
||||
explicit basic_element( basic_element::type_e Type = basic_element::type_e::variable, Args_ ...Args );
|
||||
// methods
|
||||
// data access
|
||||
auto input() -> int &;
|
||||
|
||||
Reference in New Issue
Block a user