summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorSteve Doiel <steved@usnr.com>2015-01-16 15:20:28 -0800
committerSteve Doiel <steved@usnr.com>2015-01-16 15:20:28 -0800
commit53525a037b45ecf4dc29bf6700ad384647541da2 (patch)
tree9143dedcd34e64ca27d75c44a4bfab547ec67c94 /src/pugixml.cpp
parent4ae1940065c415223445efb23d3200d1b0b1d4a1 (diff)
Add a couple of more overloads for floats
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 2ed94f3..9760e9f 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -4553,6 +4553,12 @@ namespace pugi
return *this;
}
+ PUGI__FN xml_attribute& xml_attribute::operator=(float rhs)
+ {
+ set_value(rhs);
+ return *this;
+ }
+
PUGI__FN xml_attribute& xml_attribute::operator=(bool rhs)
{
set_value(rhs);
@@ -5679,6 +5685,12 @@ namespace pugi
return *this;
}
+ PUGI__FN xml_text& xml_text::operator=(float rhs)
+ {
+ set(rhs);
+ return *this;
+ }
+
PUGI__FN xml_text& xml_text::operator=(bool rhs)
{
set(rhs);