Skip to content

Commit 7678612

Browse files
authored
style(clang-tidy): modernize use default member init (#1691)
fixes: #1674 Signed-off-by: Balakrishna Avulapati <bavulapati@gmail.com>
1 parent eb351a1 commit 7678612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/json/json_value.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ JSON::JSON(const bool value) : current_type{Type::Boolean} {
4747
this->data_boolean = value;
4848
}
4949

50-
JSON::JSON(const std::nullptr_t) : current_type{Type::Null} {}
50+
JSON::JSON(const std::nullptr_t) {}
5151

5252
JSON::JSON(const String &value) : current_type{Type::String} {
5353
new (&this->data_string) String{value};

0 commit comments

Comments
 (0)