Fix ci
This commit is contained in:
parent
f79549cc09
commit
a328bb527b
@ -5499,7 +5499,7 @@ namespace pugi
|
|||||||
return impl::strcpy_insitu(_attr->value, _attr->value_len, _attr->header, impl::xml_memory_page_value_allocated_mask, rhs.data(), rhs.length(), shallow_copy);
|
return impl::strcpy_insitu(_attr->value, _attr->value_len, _attr->header, impl::xml_memory_page_value_allocated_mask, rhs.data(), rhs.length(), shallow_copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
PUGI__FN bool xml_attribute::set_value(char_t* rhs, size_t sz)
|
PUGI__FN bool xml_attribute::set_value(const char_t* rhs, size_t sz)
|
||||||
{
|
{
|
||||||
return set_value(string_view_t{rhs, sz });
|
return set_value(string_view_t{rhs, sz });
|
||||||
}
|
}
|
||||||
@ -5872,7 +5872,7 @@ namespace pugi
|
|||||||
return impl::strcpy_insitu(_root->value, _root->value_len, _root->header, impl::xml_memory_page_value_allocated_mask, rhs.data(), rhs.length(), shallow_copy);
|
return impl::strcpy_insitu(_root->value, _root->value_len, _root->header, impl::xml_memory_page_value_allocated_mask, rhs.data(), rhs.length(), shallow_copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
PUGI__FN bool xml_node::set_value(char_t* rhs, size_t sz)
|
PUGI__FN bool xml_node::set_value(const char_t* rhs, size_t sz)
|
||||||
{
|
{
|
||||||
return set_value(string_view_t{ rhs, sz });
|
return set_value(string_view_t{ rhs, sz });
|
||||||
}
|
}
|
||||||
@ -6737,7 +6737,7 @@ namespace pugi
|
|||||||
return dn ? impl::strcpy_insitu(dn->value, dn->value_len, dn->header, impl::xml_memory_page_value_allocated_mask, rhs.data(), rhs.length(), shallow_copy) : false;
|
return dn ? impl::strcpy_insitu(dn->value, dn->value_len, dn->header, impl::xml_memory_page_value_allocated_mask, rhs.data(), rhs.length(), shallow_copy) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
PUGI__FN bool xml_text::set(char_t* rhs, size_t sz)
|
PUGI__FN bool xml_text::set(const char_t* rhs, size_t sz)
|
||||||
{
|
{
|
||||||
return set(string_view_t{ rhs, sz });
|
return set(string_view_t{ rhs, sz });
|
||||||
}
|
}
|
||||||
|
|||||||
@ -570,7 +570,7 @@ namespace pugi
|
|||||||
// Set attribute name/value (returns false if attribute is empty or there is not enough memory)
|
// Set attribute name/value (returns false if attribute is empty or there is not enough memory)
|
||||||
bool set_name(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
bool set_name(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
||||||
bool set_value(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
bool set_value(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
||||||
bool set_value(char_t*, size_t sz); // 1.13 ABI compatible
|
bool set_value(const char_t*, size_t sz); // 1.13 ABI compatible
|
||||||
|
|
||||||
// Set attribute value with type conversion (numbers are converted to strings, boolean is converted to "true"/"false")
|
// Set attribute value with type conversion (numbers are converted to strings, boolean is converted to "true"/"false")
|
||||||
bool set_value(int rhs);
|
bool set_value(int rhs);
|
||||||
@ -705,7 +705,7 @@ namespace pugi
|
|||||||
// Set node name/value (returns false if node is empty, there is not enough memory, or node can not have name/value)
|
// Set node name/value (returns false if node is empty, there is not enough memory, or node can not have name/value)
|
||||||
bool set_name(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
bool set_name(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
||||||
bool set_value(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
bool set_value(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
||||||
bool set_value(char_t* rhs, size_t sz); // 1.13 ABI compatible
|
bool set_value(const char_t* rhs, size_t sz); // 1.13 ABI compatible
|
||||||
|
|
||||||
// Add attribute with specified name. Returns added attribute, or empty attribute on errors.
|
// Add attribute with specified name. Returns added attribute, or empty attribute on errors.
|
||||||
xml_attribute append_attribute(string_view_t name, boolean shallow_copy = pugi::false_value);
|
xml_attribute append_attribute(string_view_t name, boolean shallow_copy = pugi::false_value);
|
||||||
@ -934,7 +934,7 @@ namespace pugi
|
|||||||
|
|
||||||
// Set text (returns false if object is empty or there is not enough memory)
|
// Set text (returns false if object is empty or there is not enough memory)
|
||||||
bool set(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
bool set(string_view_t rhs, boolean shallow_copy = pugi::false_value);
|
||||||
bool set(char_t* rhs, size_t sz); // 1.13 ABI compatible
|
bool set(const char_t* rhs, size_t sz); // 1.13 ABI compatible
|
||||||
|
|
||||||
// Set text with type conversion (numbers are converted to strings, boolean is converted to "true"/"false")
|
// Set text with type conversion (numbers are converted to strings, boolean is converted to "true"/"false")
|
||||||
bool set(int rhs);
|
bool set(int rhs);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user