Skip to content

Commit

Permalink
[engraving] fixed ld_field_prod implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkorsukov committed Dec 6, 2023
1 parent abbfd95 commit efbc260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engraving/infrastructure/ld_access.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ class ld_field_prod
{
public:

ld_field_prod(const char*, T = T()) {}
ld_field_prod(const char*, T def = T())
: m_val(def) {}

inline void reset() { m_val = T(); }

Expand Down

0 comments on commit efbc260

Please sign in to comment.