tidy sources
This commit is contained in:
parent
60d8a663ab
commit
40661ea9fa
@ -5290,7 +5290,6 @@ namespace pugi
|
|||||||
return impl::set_value_convert(_attr->value, _attr->header, impl::xml_memory_page_value_allocated_mask, rhs, precision);
|
return impl::set_value_convert(_attr->value, _attr->header, impl::xml_memory_page_value_allocated_mask, rhs, precision);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<> PUGI__FN bool xml_attribute::set_value<float>(float rhs)
|
template<> PUGI__FN bool xml_attribute::set_value<float>(float rhs)
|
||||||
{
|
{
|
||||||
if (!_attr) return false;
|
if (!_attr) return false;
|
||||||
|
|||||||
@ -762,8 +762,7 @@ namespace pugi
|
|||||||
bool set(double rhs, int precision);
|
bool set(double rhs, int precision);
|
||||||
|
|
||||||
// Set text (equivalent to set without error checking)
|
// Set text (equivalent to set without error checking)
|
||||||
template<typename _T>
|
template<typename _T> xml_text& operator=(_T rhs) { set(rhs); return *this; }
|
||||||
xml_text& operator=(_T rhs) { set(rhs); return *this; }
|
|
||||||
|
|
||||||
// Get the data node (node_pcdata or node_cdata) for this object
|
// Get the data node (node_pcdata or node_cdata) for this object
|
||||||
xml_node data() const;
|
xml_node data() const;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user