mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
fix(pdfccittfaxdecoder): Remove whitespace in _bitlength operator
This fixes a compilation warning with newer clang version. Indeed, the whitespace between "" and _bitlength is no longer allowed. This was permitted in older versions of the standard but has since been deprecated. ``` error: identifier '_bitlength' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator] 27 | constexpr uint8_t operator "" _bitlength() | ~~~~~~~~~~~~^~~~~~~~~~ | operator""_bitlength ```
This commit is contained in:
@ -28,7 +28,7 @@ namespace pdf
|
||||
{
|
||||
|
||||
template<char... Digits>
|
||||
constexpr uint8_t operator "" _bitlength()
|
||||
constexpr uint8_t operator ""_bitlength()
|
||||
{
|
||||
return sizeof...(Digits);
|
||||
}
|
||||
|
Reference in New Issue
Block a user