diff --git a/src/pugixml.cpp b/src/pugixml.cpp index cd97c22..e99857a 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -5289,7 +5289,6 @@ namespace pugi 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 rhs) { diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 999f3be..c3d5641 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -762,8 +762,7 @@ namespace pugi bool set(double rhs, int precision); // Set text (equivalent to set without error checking) - template - xml_text& operator=(_T rhs) { set(rhs); return *this; } + template xml_text& operator=(_T rhs) { set(rhs); return *this; } // Get the data node (node_pcdata or node_cdata) for this object xml_node data() const;