mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Remove usage of C++17 features in heif code
This commit is contained in:
@ -15,6 +15,8 @@ public:
|
||||
};
|
||||
|
||||
namespace NSHeif {
|
||||
NSUnicodeConverter::CUnicodeConverter CHeifFile::m_oConverter{};
|
||||
|
||||
bool CHeifFile::isHeif(const std::wstring& fileName)
|
||||
{
|
||||
heif_context* ctx = heif_context_alloc();
|
||||
|
||||
@ -15,8 +15,8 @@ namespace NSHeif {
|
||||
static bool Save(const BYTE* source, int width, int height, int sourceStride, const std::wstring& dstPath);
|
||||
|
||||
private:
|
||||
static inline bool IsError(heif_error err);
|
||||
static inline bool Decode(heif_context* ctx, CBgraFrame* frame);
|
||||
static inline NSUnicodeConverter::CUnicodeConverter m_oConverter{};
|
||||
static bool IsError(heif_error err);
|
||||
static bool Decode(heif_context* ctx, CBgraFrame* frame);
|
||||
static NSUnicodeConverter::CUnicodeConverter m_oConverter;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user