forked from OSchip/llvm-project
Removing the explicit specifier from some default constructors; NFC.
llvm-svn: 358978
This commit is contained in:
parent
c519d3c403
commit
61ef9193aa
|
@ -95,7 +95,7 @@ public:
|
||||||
using iterator = Storage::iterator;
|
using iterator = Storage::iterator;
|
||||||
using const_iterator = Storage::const_iterator;
|
using const_iterator = Storage::const_iterator;
|
||||||
|
|
||||||
explicit Object() = default;
|
Object() = default;
|
||||||
// KV is a trivial key-value struct for list-initialization.
|
// KV is a trivial key-value struct for list-initialization.
|
||||||
// (using std::pair forces extra copies).
|
// (using std::pair forces extra copies).
|
||||||
struct KV;
|
struct KV;
|
||||||
|
@ -156,7 +156,7 @@ public:
|
||||||
using iterator = std::vector<Value>::iterator;
|
using iterator = std::vector<Value>::iterator;
|
||||||
using const_iterator = std::vector<Value>::const_iterator;
|
using const_iterator = std::vector<Value>::const_iterator;
|
||||||
|
|
||||||
explicit Array() = default;
|
Array() = default;
|
||||||
explicit Array(std::initializer_list<Value> Elements);
|
explicit Array(std::initializer_list<Value> Elements);
|
||||||
template <typename Collection> explicit Array(const Collection &C) {
|
template <typename Collection> explicit Array(const Collection &C) {
|
||||||
for (const auto &V : C)
|
for (const auto &V : C)
|
||||||
|
|
Loading…
Reference in New Issue