Skip to content

Commit

Permalink
emscripten build: replace basic_string with vector
Browse files Browse the repository at this point in the history
  • Loading branch information
dukesook committed Feb 18, 2025
1 parent f44caac commit f2c74dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/api/libheif/heif_emscripten.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ static emscripten::val heif_js_decode_image2(struct heif_image_handle* handle,
int height = heif_image_handle_get_height(handle);
result.set("height", height);

std::basic_string<unsigned char> data;
std::vector<unsigned char> data;
result.set("chroma", heif_image_get_chroma_format(image));
result.set("colorspace", heif_image_get_colorspace(image));

Expand Down

0 comments on commit f2c74dd

Please sign in to comment.