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:
parent
3ac7244f5c
commit
a48a07a3ec
@ -198,7 +198,7 @@ js_attributes_namedItem2(JSContext *ctx, JSValueConst this_val, const char *str)
|
|||||||
auto end = al->end();
|
auto end = al->end();
|
||||||
|
|
||||||
for (; it != end; ++it) {
|
for (; it != end; ++it) {
|
||||||
const auto attr = dynamic_cast<const xmlpp::AttributeNode*>(*it);
|
auto attr = dynamic_cast<xmlpp::AttributeNode*>(*it);
|
||||||
|
|
||||||
if (!attr) {
|
if (!attr) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user