Skip to content

Commit

Permalink
Fix variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dshil committed Jan 9, 2025
1 parent a81375f commit 1c18bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ocs_fmt/json/dynamic_formatter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DynamicFormatter::DynamicFormatter(unsigned size)
: size_(size) {
configASSERT(size_);

buf_.reset(new (std::nothrow) char[size]);
buf_.reset(new (std::nothrow) char[size_]);
configASSERT(buf_);
}

Expand Down

0 comments on commit 1c18bac

Please sign in to comment.