adjust to change in MemPacker unpack signature

This commit is contained in:
Arne Morten Kvarving 2024-09-11 12:45:55 +02:00
parent fc8135894c
commit e808a3d2f3
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ pack(const boost::gregorian::date& data,
void Packing<false,boost::gregorian::date>::
unpack(boost::gregorian::date& data,
std::vector<char>& buffer, std::size_t& position)
const std::vector<char>& buffer, std::size_t& position)
{
std::string date;
Packing<false,std::string>::unpack(date, buffer, position);

View File

@ -38,7 +38,7 @@ struct Packing<false,boost::gregorian::date>
std::vector<char>& buffer, std::size_t& position);
static void unpack(boost::gregorian::date& data,
std::vector<char>& buffer, std::size_t& position);
const std::vector<char>& buffer, std::size_t& position);
};
}