1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[quickjs] attributes non const

This commit is contained in:
Witold Filipczyk 2022-01-30 11:12:39 +01:00
parent 3ac7244f5c
commit a48a07a3ec

View File

@ -198,7 +198,7 @@ js_attributes_namedItem2(JSContext *ctx, JSValueConst this_val, const char *str)
auto end = al->end();
for (; it != end; ++it) {
const auto attr = dynamic_cast<const xmlpp::AttributeNode*>(*it);
auto attr = dynamic_cast<xmlpp::AttributeNode*>(*it);
if (!attr) {
continue;