Fix serial::pad for gcc 4.5
This commit is contained in:
parent
c016ace90b
commit
57a3541424
|
@ -200,7 +200,7 @@ static inline void process_udt(Accessor &accessor, const pad_type<amount, value>
|
|||
template <std::size_t amount, uint8_t value = 0xcc>
|
||||
static inline const detail::pad_type<amount, value> &pad()
|
||||
{
|
||||
static const detail::pad_type<amount, value> p;
|
||||
static const detail::pad_type<amount, value> p{};
|
||||
return p;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue