fix non-Codecvt build
This commit is contained in:
parent
cfc0af179f
commit
8ea05274f0
2 changed files with 3 additions and 1 deletions
|
@ -451,6 +451,8 @@ bool RagePhoto::save(char *data, PhotoFormat photoFormat)
|
|||
char photoHeader[256];
|
||||
memcpy(photoHeader, photoString.data(), photoString_size);
|
||||
#else
|
||||
const size_t photoString_size = 0;
|
||||
char photoHeader[256];
|
||||
std::cout << "UTF-16LE encoding support missing" << std::endl;
|
||||
p_error = Error::UnicodeInitError; // 4
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue