General: Make constructors explicit where applicable

Makes non-conversion constructors explicit to make their construction
obvious.
This commit is contained in:
Lioncash
2019-08-26 19:31:55 -04:00
parent e8d6c2abe7
commit 881db18f7d
10 changed files with 24 additions and 23 deletions

View File

@@ -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();
}