Fix stray formatting error

This commit is contained in:
m-holger 2022-11-14 11:50:59 +00:00 committed by Jay Berkenbilt
parent b30273f174
commit fc64d0a371
2 changed files with 6 additions and 3 deletions

View File

@ -2813,7 +2813,8 @@ QPDFObjectHandle::setParsedOffset(qpdf_offset_t offset)
}
}
QPDFObjectHandle operator""_qpdf(char const* v, size_t len)
QPDFObjectHandle
operator""_qpdf(char const* v, size_t len)
{
return QPDFObjectHandle::parse(
std::string(v, len), "QPDFObjectHandle literal");

View File

@ -378,12 +378,14 @@ do_regex()
assert((*m3)[2].matched);
}
static long operator""_x(char const* v)
static long
operator""_x(char const* v)
{
return strtol(v, nullptr, 16);
}
static std::string operator""_y(char const* v, size_t len)
static std::string
operator""_y(char const* v, size_t len)
{
return "y" + std::string(v, len) + "y";
}