Added const qualifier to padinfo

This commit is contained in:
gabime 2019-07-14 14:31:55 +03:00
parent 121fc0a273
commit 2512ac1e3c

View File

@ -35,7 +35,7 @@ namespace details {
class scoped_pad
{
public:
scoped_pad(size_t wrapped_size, padding_info &padinfo, fmt::memory_buffer &dest)
scoped_pad(size_t wrapped_size, const padding_info &padinfo, fmt::memory_buffer &dest)
: padinfo_(padinfo)
, dest_(dest)
{