mirror of https://github.com/JakubMelka/PDF4QT.git
Fix build failure using clang compiler
This commit is contained in:
parent
3846c5187e
commit
6354e4cad1
|
@ -71,11 +71,11 @@ public:
|
|||
{
|
||||
if constexpr (index < FlatSize)
|
||||
{
|
||||
return m_flatBlock[size];
|
||||
return m_flatBlock[size()];
|
||||
}
|
||||
else
|
||||
{
|
||||
return m_variableBlock[size - FlatSize];
|
||||
return m_variableBlock[size() - FlatSize];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -84,11 +84,11 @@ public:
|
|||
{
|
||||
if constexpr (index < FlatSize)
|
||||
{
|
||||
return m_flatBlock[size];
|
||||
return m_flatBlock[size()];
|
||||
}
|
||||
else
|
||||
{
|
||||
return m_variableBlock[size - FlatSize];
|
||||
return m_variableBlock[size() - FlatSize];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue