Skip to content

Commit 45cb3a9

Browse files
authored
style(clang-tidy): modernize use equals default (#1690)
fixes #1683 Signed-off-by: Balakrishna Avulapati <[email protected]>
1 parent 70df45e commit 45cb3a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/jsonl/iterator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ ConstJSONLIterator::ConstJSONLIterator(
104104
std::basic_istream<JSON::Char, JSON::CharTraits> *stream)
105105
: data{stream}, internal{new Internal({this->parse_next()})} {}
106106

107-
ConstJSONLIterator::~ConstJSONLIterator() {}
107+
ConstJSONLIterator::~ConstJSONLIterator() = default;
108108

109109
auto operator==(const ConstJSONLIterator &left, const ConstJSONLIterator &right)
110110
-> bool {

src/core/jsonschema/resolver.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace sourcemeta::core {
77

8-
SchemaMapResolver::SchemaMapResolver() {}
8+
SchemaMapResolver::SchemaMapResolver() = default;
99

1010
SchemaMapResolver::SchemaMapResolver(const SchemaResolver &resolver)
1111
: default_resolver{resolver} {}

0 commit comments

Comments
 (0)