summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-04-23 12:16:28 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-04-23 12:16:28 +0000
commit61ef9193aa7a7f998ab55d0d07f552464c7c8f1b (patch)
treee7f8c8fb0a32ab589bb02de1511c18715b718c73
parentc519d3c403986b5e91e68c3788f1485d8072392a (diff)
downloadbcm5719-llvm-61ef9193aa7a7f998ab55d0d07f552464c7c8f1b.tar.gz
bcm5719-llvm-61ef9193aa7a7f998ab55d0d07f552464c7c8f1b.zip
Removing the explicit specifier from some default constructors; NFC.
llvm-svn: 358978
-rw-r--r--llvm/include/llvm/Support/JSON.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/JSON.h b/llvm/include/llvm/Support/JSON.h
index f0fec48e5a6..5693915ad69 100644
--- a/llvm/include/llvm/Support/JSON.h
+++ b/llvm/include/llvm/Support/JSON.h
@@ -95,7 +95,7 @@ public:
using iterator = Storage::iterator;
using const_iterator = Storage::const_iterator;
- explicit Object() = default;
+ Object() = default;
// KV is a trivial key-value struct for list-initialization.
// (using std::pair forces extra copies).
struct KV;
@@ -156,7 +156,7 @@ public:
using iterator = std::vector<Value>::iterator;
using const_iterator = std::vector<Value>::const_iterator;
- explicit Array() = default;
+ Array() = default;
explicit Array(std::initializer_list<Value> Elements);
template <typename Collection> explicit Array(const Collection &C) {
for (const auto &V : C)
OpenPOWER on IntegriCloud