mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-18 03:29:46 +02:00
clang-tidy fixes (#1033)
* [clang-tidy] Replace C typedef with C++ using Found with modernize-use-using Added to .clang-tidy file. Signed-off-by: Rosen Penev <rosenp@gmail.com> * [clang-tidy] Remove redundant member init Found with readability-redundant-member-init Added to .clang-tidy * [clang-tidy] Replace C casts with C++ ones Found with google-readability-casting Signed-off-by: Rosen Penev <rosenp@gmail.com> * [clang-tidy] Use default member init Found with modernize-use-default-member-init Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:

committed by
Jordan Bayles

parent
e9ccbe0145
commit
ae4dc9aa62
@@ -1547,16 +1547,16 @@ Value::iterator Value::end() {
|
||||
// class PathArgument
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
||||
PathArgument::PathArgument() : key_() {}
|
||||
PathArgument::PathArgument() {}
|
||||
|
||||
PathArgument::PathArgument(ArrayIndex index)
|
||||
: key_(), index_(index), kind_(kindIndex) {}
|
||||
: index_(index), kind_(kindIndex) {}
|
||||
|
||||
PathArgument::PathArgument(const char* key)
|
||||
: key_(key), index_(), kind_(kindKey) {}
|
||||
: key_(key), kind_(kindKey) {}
|
||||
|
||||
PathArgument::PathArgument(const String& key)
|
||||
: key_(key.c_str()), index_(), kind_(kindKey) {}
|
||||
: key_(key.c_str()), kind_(kindKey) {}
|
||||
|
||||
// class Path
|
||||
// //////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user