diff --git a/src/pugixml.hpp b/src/pugixml.hpp index c3d5641..525739a 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -406,7 +406,7 @@ namespace pugi // Set attribute name/value (returns false if attribute is empty or there is not enough memory) bool set_name(const char_t* rhs); - template bool set_value(_T rhs); + template bool set_value(_T rhs) { return set_value(rhs); } bool set_value(float rhs, int precision); bool set_value(double rhs, int precision); @@ -756,7 +756,7 @@ namespace pugi bool as_bool(bool def = false) const; // Set text (returns false if object is empty or there is not enough memory) - template bool set(_T rhs); + template bool set(_T rhs) { return set(rhs); } bool set(float rhs, int precision); bool set(double rhs, int precision);