diff options
author | Steve Doiel <steved@usnr.com> | 2015-01-16 15:20:28 -0800 |
---|---|---|
committer | Steve Doiel <steved@usnr.com> | 2015-01-16 15:20:28 -0800 |
commit | 53525a037b45ecf4dc29bf6700ad384647541da2 (patch) | |
tree | 9143dedcd34e64ca27d75c44a4bfab547ec67c94 /src/pugixml.hpp | |
parent | 4ae1940065c415223445efb23d3200d1b0b1d4a1 (diff) |
Add a couple of more overloads for floats
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r-- | src/pugixml.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 2076426..163059d 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -365,6 +365,7 @@ namespace pugi xml_attribute& operator=(int rhs); xml_attribute& operator=(unsigned int rhs); xml_attribute& operator=(double rhs); + xml_attribute& operator=(float rhs); xml_attribute& operator=(bool rhs); #ifdef PUGIXML_HAS_LONG_LONG @@ -708,6 +709,7 @@ namespace pugi xml_text& operator=(int rhs); xml_text& operator=(unsigned int rhs); xml_text& operator=(double rhs); + xml_text& operator=(float rhs); xml_text& operator=(bool rhs); #ifdef PUGIXML_HAS_LONG_LONG |