mirror of
https://github.com/libAthena/athena.git
synced 2025-12-09 05:27:50 +00:00
General: Make constructors explicit where applicable
Makes non-conversion constructors explicit to make their construction obvious.
This commit is contained in:
@@ -166,7 +166,7 @@ struct YAMLStdStringViewReaderState {
|
||||
std::string_view::const_iterator begin;
|
||||
std::string_view::const_iterator end;
|
||||
|
||||
YAMLStdStringViewReaderState(std::string_view str) {
|
||||
explicit YAMLStdStringViewReaderState(std::string_view str) {
|
||||
begin = str.begin();
|
||||
end = str.end();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user