Skip to content

Commit

Permalink
refactor(LazyObject): initialize result
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 13, 2024
1 parent df43d87 commit 17a7212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Dom/LazyObject.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ std::size_t
LazyObjectImpl<T, Context>::
size() const
{
std::size_t result;
std::size_t result = 0;
detail::LazyObjectIO io(
[&result, this](std::string_view name, auto const& /* value or deferred */)
{
Expand Down

0 comments on commit 17a7212

Please # to comment.