From: Aaron Ballman Date: Tue, 23 Apr 2019 12:16:28 +0000 (+0000) Subject: Removing the explicit specifier from some default constructors; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b33e0bfbd762ba777e67ba50496cbcbc5a970581;p=llvm Removing the explicit specifier from some default constructors; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358978 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/JSON.h b/include/llvm/Support/JSON.h index f0fec48e5a6..5693915ad69 100644 --- a/include/llvm/Support/JSON.h +++ b/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::iterator; using const_iterator = std::vector::const_iterator; - explicit Array() = default; + Array() = default; explicit Array(std::initializer_list Elements); template explicit Array(const Collection &C) { for (const auto &V : C)